Orze::Sources::Pandoc - Load a text file and render it as a html fragment using Pandoc.
Load the file given in the file attribute and render it. It use http://johnmacfarlane.net/pandoc/ to do the actual processing.
file
The default source and target are Markdown and HTML, but you can customize this behaviour using from and to attributes.
from
to
You can pass more options using the options attribute. Defaults are --reference-links and --parse-raw.
options
--reference-links
--parse-raw
The variant of Markdown used by Pandoc is more powerful than the standard one, read http://johnmacfarlane.net/pandoc/README.html.
http://johnmacfarlane.net/pandoc/README.html
Obviously, you will need Pandoc, available here: http://johnmacfarlane.net/pandoc/#downloads
To install Orze, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Orze
CPAN shell
perl -MCPAN -e shell install Orze
For more information on module installation, please visit the detailed CPAN module installation guide.