aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-09 10:40:31 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-09 10:40:31 -0800
commit167eeef6cb68d7cf4b5bd94f6543f84543df8c8c (patch)
treea90560029d94da2de57228f4dce82df51e8fc575 /README
parentbb609a85e3db8a25fbfac30858c8637eb6664fd6 (diff)
downloadpandoc-167eeef6cb68d7cf4b5bd94f6543f84543df8c8c.tar.gz
Added json format for reading and writing.
This is faster to parse than native.
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 4 insertions, 3 deletions
diff --git a/README b/README
index 91ec5e70b..26859a81d 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),