diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-12-02 22:42:29 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-12-02 22:42:29 +0000 |
commit | 430e55c0f1ca94fdb20b99061862af2ceabe4469 (patch) | |
tree | dc9e433e918496ab02cef9a6769b57c054b917ab /man/man1 | |
parent | 48410d1df03a79d0c9b9a26c761d80f13e51aead (diff) |
Handle --lhs-out option in HTML, LaTeX, and Markdown writers.
Documented lhs options in man page and README.
Note: HTML output with --lhs-out is not strictly literate haskell,
but it is designed so that the result of copying and pasting the
page in the browser will be a literate haskell file.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1501 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/pandoc.1.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/man/man1/pandoc.1.md b/man/man1/pandoc.1.md index bbd4e725e..bdd317c78 100644 --- a/man/man1/pandoc.1.md +++ b/man/man1/pandoc.1.md @@ -142,6 +142,20 @@ to Pandoc. Or use `html2markdown`(1), a wrapper around `pandoc`. are omitted. URIs in links and images are also checked against a whitelist of URI schemes. +\--lhs-in +: Treat input as literate Haskell. In markdown input, "bird track" + sections will be treated as Haskell source code. In LaTeX input, + `code` environments will be treated as Haskell source code. + +\--lhs-out +: Write output as literate Haskell. In markdown output, Haskell + source code will be printed with "bird tracks." In LaTeX output, + it will be put in `code` environments. In HTML output, it will + be put inside `<pre>` tags, with "bird tracks." + +\--lhs +: Equivalent to `--lhs-in --lhs-out`. + \--toc, \--table-of-contents : Include an automatically generated table of contents (HTML, markdown, RTF) or an instruction to create one (LaTeX, reStructuredText). |