aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-11-12 01:50:56 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-11-12 01:50:56 +0000
commit69e23af8e4198dc4e308935855662248a31c6dc2 (patch)
tree3bd2ad4e0f5f1e75e828f07f0d5964be4ae6eef0 /README
parent668a48534edf47d5b65f5589af7ca9350f44a6d3 (diff)
downloadpandoc-69e23af8e4198dc4e308935855662248a31c6dc2.tar.gz
Made wrapper scripts sensitive to PANDOC_OPTS environment variable,
which may contain command-line options to be passed to pandoc. + Changed the scripts themselves, including $PANDOC_OPTS after 'pandoc' + Added ENVIRONMENT to man pages for wrappers + Formatting changes to man files + Added description of PANDOC_OPTS to README git-svn-id: https://pandoc.googlecode.com/svn/trunk@91 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 13 insertions, 0 deletions
diff --git a/README b/README
index 30193edb7..265285e56 100644
--- a/README
+++ b/README
@@ -141,6 +141,19 @@ is in the path, and some have additional requirements. (For example,
creates a file `mytextfile.pdf`.
+If you want to use pandoc's command-line options in these scripts,
+put the options in the environment variable `PANDOC_OPTS`. For
+example, to convert `tusks.txt` to `tusks.html` using smart quotes,
+ellipses, and dashes, with "Elephants" as the page title prefix:
+
+ PANDOC_OPTS="-S -T Elephants" markdown2html tusks.txt > tusks.html
+
+To make these options persistent, use `export`:
+
+ export PANDOC_OPTS="-S -T Elephants"
+ markdown2html tusks.txt > tusks.html
+ markdown2html trunk.txt > trunk.html
+
# Command-line options
Various command-line options can be used to customize the output.