summaryrefslogtreecommitdiff
path: root/man/man1/pandoc.1.md
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-12-02 22:43:11 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-12-02 22:43:11 +0000
commit4e122930f130c893bf0e0a31ff09015d10a8140c (patch)
treeeec6c54859d532f3b78125b29d2c17cb38059e6e /man/man1/pandoc.1.md
parent22741eb8e83f81116375ab69a4db6da61daf7e7e (diff)
Modified README and man page to document lhs features.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1506 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'man/man1/pandoc.1.md')
-rw-r--r--man/man1/pandoc.1.md20
1 files changed, 5 insertions, 15 deletions
diff --git a/man/man1/pandoc.1.md b/man/man1/pandoc.1.md
index bdd317c78..91c3a8537 100644
--- a/man/man1/pandoc.1.md
+++ b/man/man1/pandoc.1.md
@@ -64,6 +64,8 @@ to Pandoc. Or use `html2markdown`(1), a wrapper around `pandoc`.
: Specify input format. *FORMAT* can be
`native` (native Haskell), `markdown` (markdown or plain text),
`rst` (reStructuredText), `html` (HTML), or `latex` (LaTeX).
+ If `+lhs` is appended to `markdown`, `rst`, or `latex`, the input
+ will be treated as literate Haskell source.
-t *FORMAT*, -w *FORMAT*, \--to=*FORMAT*, \--write=*FORMAT*
: Specify output format. *FORMAT* can be `native` (native Haskell),
@@ -74,7 +76,9 @@ to Pandoc. Or use `html2markdown`(1), a wrapper around `pandoc`.
`odt` (OpenOffice text document), `s5` (S5 HTML and javascript slide
show), or `rtf` (rich text format). Note that `odt` output will not
be directed to *stdout*; an output filename must be specified using
- the `-o/--output` option.
+ the `-o/--output` option. If `+lhs` is appended to `markdown`,
+ `rst`, `latex`, or `html`, the output will be rendered as literate
+ Haskell source.
-s, \--standalone
: Produce output with an appropriate header and footer (e.g. a
@@ -142,20 +146,6 @@ 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).