opml-to-markdown
Convert OPML(Outline) to Markdown
Use Case
- OmniOutliner's opml -> Markdown -> cleaver's slide.
Installation
npm install opml-to-markdown -g
Usage
$ opml-to-markdown -hUsage: cmd [options]-h, --help displays help-e, --entry String opml file path-o, --outfile String output to file path--require String builder module path
$ opml-to-markdown test/fixtures/header-list-note/test.opml
title0,2
to
title: title-- # H1 - H2 Text- H2 - text -- # H1 text notenote
Custom output markdown
You have to implement building module.
$ opml-to-markdown -e test/fixtures/header-list-note/test.opml --require lib/build-slide-markdown.js
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT