The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Orze::Sources::Pandoc - Load a text file and render it as a html fragment using Pandoc.

DESCRIPTION

Load the file given in the file attribute and render it. It use http://johnmacfarlane.net/pandoc/ to do the actual processing.

The default source and target are Markdown and HTML, but you can customize this behaviour using from and to attributes.

You can pass more options using the options attribute. Defaults are --reference-links and --parse-raw.

The variant of Markdown used by Pandoc is more powerful than the standard one, read http://johnmacfarlane.net/pandoc/README.html.

Obviously, you will need Pandoc, available here: http://johnmacfarlane.net/pandoc/#downloads

METHOD

evaluate