[Haskell] ANN: pandoc 1.2

John MacFarlane jgm at berkeley.edu
Sun Mar 1 14:21:40 EST 2009


I'm pleased to announce the release of pandoc version 1.2
(uploaded today to HackageDB).

The most significant new feature is support for literate Haskell.
You can now use pandoc directly on literate Haskell source files
to produce syntax-highlighted HTML output:

    pandoc -s MyProg.lhs > MyProg.html

Pandoc will interpret text sections as (extended) markdown.  If
you prefer to write literate Haskell using reStructuredText
or LaTeX, pandoc supports that too:

    pandoc -s --from rst+lhs MyProg.lhs > MyProg.html
    pandoc -s --from latex+lhs MyProg.lhs > MyProg.html

You can even convert from one style to another:

    pandoc -s --from markdown+lhs --to latex+lhs MyProg.hs

This release also adds an '--email-obfuscation' option, so
the user can select an email obfuscation method (or disable
obfuscation), and support for citations using the latest version
of Andrea Rossato's citeproc-hs.

In addition, many bugs have been fixed.  Thanks to everyone
who filed bug reports.

John



More information about the Haskell mailing list