Convert markdown files to Dash docset in CLI.
$ npm install -g markdown2dash
$ md2dash -i {markdownDirectory} -o {docsetDirectory}
markdownDirectory
: default value is ./markdowndocsetDirectory
: default value is ./docset
Just type md2dash
without args If you've put .md
files in markdown
directory.
The subdirectories of markdownDirectory
must name after Types and the directory structure should be organized like this:
- {markdownDirectory}
- Functions
- {xxx}.md
- {xxx}.md
- Statements
- {xxx}.md
- {xxx}.md
- Types
- {xxx}.md
- {xxx}.md
Use github
flavor, include github-markdown-css and highlight.js.
Thanks to the authors above created beautiful styles.