pandoc is a markup language converter written in Haskell (WTF?)/
https://github.com/jgm/pandoc
Usage:
pandoc -f markdown -t rst -o README.rst README.md
pandoc --from=markdown --to=rst --output=README.rst README.md
pandoc [OPTIONS] [FILES]
Input formats: docbook, docx, epub, haddock, html, json, latex, markdown,
markdown_github, markdown_mmd, markdown_phpextra,
markdown_strict, mediawiki, native, opml, org, rst, t2t,
textile
Output formats: asciidoc, beamer, context, docbook, docx, dokuwiki, dzslides,
epub, epub3, fb2, haddock, html, html5, icml, json, latex, man,
markdown, markdown_github, markdown_mmd, markdown_phpextra,
markdown_strict, mediawiki, native, odt, opendocument, opml,
org, pdf*, plain, revealjs, rst, rtf, s5, slideous, slidy,
texinfo, textile
[*for pdf output, use latex or beamer and -o FILENAME.pdf]
No comments:
Post a Comment