0.0.5 • Published 11 years ago
opml-to-markdown v0.0.5
opml-to-markdown
Convert OPML(Outline) to Markdown
Use Case
- OmniOutliner's opml -> Markdown -> cleaver's slide.
 
Installation
npm install opml-to-markdown -gUsage
$ opml-to-markdown -h
Usage: cmd [options]
  -h, --help            displays help
  -e, --entry String    opml file path
  -o, --outfile String  output to file path
  --require String      builder module(like build-slide-markdown.js) path$ opml-to-markdown test/fixtures/header-list-note/test.opml<?xml version="1.0" encoding="utf-8"?>
<opml version="1.0">
  <head>
    <title>title</title>
    <expansionState>0,2</expansionState>
  </head>
  <body>
    <outline text="H1">
      <outline text="H2 Text"/>
      <outline text="H2">
        <outline text="text"/>
      </outline>
    </outline>
    <outline text="H1 text" _note="note\nnote"/>
  </body>
</opml>to
title: title
--
# H1
- H2 Text
- H2
    - text
--
# H1 text
note
noteCustom output markdown
You have to implement building module.
$ opml-to-markdown -e test/fixtures/header-list-note/test.opml --require lib/build-slide-markdown.jsContributing
- 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