From 430e55c0f1ca94fdb20b99061862af2ceabe4469 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Tue, 2 Dec 2008 22:42:29 +0000 Subject: 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 --- README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'README') diff --git a/README b/README index 230ad9c5b..f86c850ab 100644 --- a/README +++ b/README @@ -371,6 +371,20 @@ For further documentation, see the `pandoc(1)` man page. 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 `
` tags, with "bird tracks."
+
+`--lhs`
+:   equivalent to `--lhs-in --lhs-out`.
+
 `--dump-args`
 :   is intended to make it easier to create wrapper scripts that use
     Pandoc. It causes Pandoc to dump information about the arguments
-- 
cgit v1.2.3