Giter Club home page Giter Club logo

embed-viewer's Introduction

Build status codecov

embed-viewer

The embed-viewer is used for converting XMind file to html and viewing pages via GitHub. It will scan all the *.xmind file from your local Git Repository automatically. After that, the original file will be compiled as a format in html and then, you can deploy the Pages via Github.

Requirements

  • Node.js >= 8.0.0

Supported System

Name Supported
Linux Y
MacOS Y
Win32 Y

Example

Install

npm i --save-dev embed-viewer

Usage

  • Switch to your local project directory
cd $project
  • Generate GitHub Pages
viewer -i . -o ./docs -p -e dist,src -t MyTitle -l https://logo.com/logo.svg

Commit the docs directory to your git repository

Setup GitHub Repository

  1. Visit your GitHub repository.

  2. Click Settings.

  3. Click Pages.

  4. Select the branch name and the folder name.

You can access your GitHub Pages after all the operations.

More Information

viewer --help

Usage: viewer -i . -o ./docs/pages -f -e node_modules,src,...

This tool is used for converting "*.xmind" file to Gitlab pages

Options:
  -t, --title <value>     specify the page title (default: "Embed Viewer")
  -i, --input <value>     the "*.xmind" source folder
  -o, --output <value>    the output folder where the converted pages are stored
  -p, --purge             purge the target folder before output pages
  -e, --excludes <value>  specify folder that will excluded during the process of scanning (default: "node_modules")
  -l, --logo <value>      specify the logo address
  -V, --version           output the version number
  -h, --help              display help for command

LICENSE

FOSSA Status

embed-viewer's People

Contributors

danielsss avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.