minad / olelo

Wiki with git backend
MIT License
241 stars 44 forks source link

Add pandoc as formatting backend #87

Closed t3k4y closed 11 years ago

t3k4y commented 11 years ago

It could be really useful to use Pandoc as a formatting backend. Beneath a very usable multi-markdown implementation it can write PDFs from lots of input-formats.

Pandoc can read markdown and (subsets of) reStructuredText, HTML, and LaTeX, and it can write markdown, reStructuredText, HTML, LaTeX, ConTeXt, PDF, RTF, DocBook XML, OpenDocument XML, ODT, GNU Texinfo, MediaWiki markup, groff man pages, and S5 HTML slide shows

http://johnmacfarlane.net/pandoc/index.html

There's a ruby-wrapper for pandoc:

https://github.com/alphabetum/pandoc-ruby

minad commented 11 years ago

Nice idea. Can you write a patch for that?

t3k4y commented 11 years ago

I dare this is not possible for me at the moment.

minad commented 11 years ago

Now you can configure your aspects in config/aspects.rb which use the pandoc filter. Tell me if you want me to add some aspects in the default configuration.