aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-11 00:06:03 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-11 00:06:03 -0800
commitf5c208230451c2f8446b639a4458a255e14778fb (patch)
tree6c433dac8a04895d102e43755c86996c12c4b2f2 /README
parentdab645440af063b0c8e260bcda89080f986ad0e3 (diff)
parent167eeef6cb68d7cf4b5bd94f6543f84543df8c8c (diff)
downloadpandoc-f5c208230451c2f8446b639a4458a255e14778fb.tar.gz
Added JSON reader and writer.
The JSON reader is about 20x faster than the native reader. So this can be a good way to serialize a pandoc document.
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 4 insertions, 3 deletions
diff --git a/README b/README
index b8692134a..03fa84547 100644
--- a/README
+++ b/README
@@ -140,8 +140,8 @@ Options
=======
`-f` *FORMAT*, `-r` *FORMAT*, `--from=`*FORMAT*, `--read=`*FORMAT*
-: Specify input format. *FORMAT* can be
- `native` (native Haskell), `markdown` (markdown or plain text),
+: Specify input format. *FORMAT* can be `native` (native Haskell),
+ `json` (JSON version of native AST), `markdown` (markdown),
`textile` (Textile), `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:
@@ -150,7 +150,8 @@ Options
`-t` *FORMAT*, `-w` *FORMAT*, `--to=`*FORMAT*, `--write=`*FORMAT*
: Specify output format. *FORMAT* can be `native` (native Haskell),
- `plain` (plain text), `markdown` (markdown), `rst` (reStructuredText),
+ `json` (JSON version of native AST), `plain` (plain text),
+ `markdown` (markdown), `rst` (reStructuredText),
`html` (HTML), `latex` (LaTeX), `context` (ConTeXt), `man` (groff man),
`mediawiki` (MediaWiki markup), `textile` (Textile), `org` (Emacs
Org-Mode), `texinfo` (GNU Texinfo), `docbook` (DocBook XML),