git.iko.soy/typeable/pandoc
on master help sign in
Updated README and pandoc man page with textile reader.
commit5171de66c53b4117fd0f4b16ef53d037cce38eb4 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 3 Dec 2010, 23:50 (16 years ago) parent357b965
2 files changed+19−18
README+14−13 man/man1/pandoc.1.md+5−5
README+14−13
@@ -4,11 +4,11 @@
44
55Pandoc is a [Haskell] library for converting from one markup format to
66another, and a command-line tool that uses this library. It can read
7−[markdown] and (subsets of) [reStructuredText], [HTML], and [LaTeX]; and
8−it can write plain text, [markdown], [reStructuredText], [HTML], [LaTeX],
9−[ConTeXt], [RTF], [DocBook XML], [OpenDocument XML], [ODT], [GNU Texinfo],
10−[MediaWiki markup], [EPUB], [Textile], [groff man] pages, and [Slidy]
11−or [S5] HTML slide shows.
7+[markdown] and (subsets of) [Textile], [reStructuredText], [HTML],
8+and [LaTeX]; and it can write plain text, [markdown], [reStructuredText],
9+[HTML], [LaTeX], [ConTeXt], [RTF], [DocBook XML], [OpenDocument XML], [ODT],
10+[GNU Texinfo], [MediaWiki markup], [EPUB], [Textile], [groff man] pages,
11+and [Slidy] or [S5] HTML slide shows.
1212
1313Pandoc's enhanced version of markdown includes syntax for footnotes,
1414tables, flexible ordered lists, definition lists, delimited code blocks,
@@ -79,11 +79,12 @@ Texinfo), `mediawiki` (MediaWiki markup), `textile` (Textile),
7979`epub` (EPUB ebook), `man` (groff man), `slidy` (slidy HTML and
8080javascript slide show), or `s5` (S5 HTML and javascript slide show).
8181
82−Supported input formats include `markdown`, `html`, `latex`, and `rst`.
83−Note that the `rst` reader only parses a subset of reStructuredText
84−syntax. For example, it doesn't handle tables, option lists, or
85−footnotes. But for simple documents it should be adequate. The `latex`
86−and `html` readers are also limited in what they can do.
82+Supported input formats include `markdown`, `textile`, `html`,
83+`latex`, and `rst`. Note that the `rst` reader only parses a subset of
84+reStructuredText syntax. For example, it doesn't handle tables, option
85+lists, or footnotes. But for simple documents it should be adequate.
86+The `textile`, `latex`, and `html` readers are also limited in what they
87+can do.
8788
8889If you don't specify a reader or writer explicitly, `pandoc` will
8990try to determine the input and output format from the extensions of
@@ -168,8 +169,8 @@ For further documentation, see the `pandoc(1)` man page.
168169
169170`-f`, `--from`, `-r`, or `--read` *format*
170171: specifies the input format (the format Pandoc will be converting
171− *from*). *format* can be `native`, `markdown`, `rst`, `html`, or
172− `latex`. (`+lhs` can be appended to indicate that the input should
172+ *from*). *format* can be `native`, `markdown`, `textile`, `rst`, `html`,
173+ or `latex`. (`+lhs` can be appended to indicate that the input should
173174 be treated as literate Haskell source. See
174175 [Literate Haskell support](#literate-haskell-support), below.)
175176
@@ -1314,7 +1315,7 @@ and ConTeXt.
13141315Citations
13151316---------
13161317
1317−
1318+TODO
13181319
13191320Producing HTML slide shows with Pandoc
13201321======================================
man/man1/pandoc.1.md+5−5
@@ -13,8 +13,8 @@ pandoc [*options*] [*input-file*]...
1313# DESCRIPTION
1414
1515Pandoc converts files from one markup format to another. It can
16−read markdown and (subsets of) reStructuredText, HTML, and LaTeX, and
17−it can write plain text, markdown, reStructuredText, HTML, LaTeX,
16+read markdown and (subsets of) Textile, reStructuredText, HTML, and LaTeX,
17+and it can write plain text, markdown, reStructuredText, HTML, LaTeX,
1818ConTeXt, Texinfo, groff man, MediaWiki markup, Textile, RTF,
1919OpenDocument XML, ODT, DocBook XML, EPUB, and Slidy or S5 HTML slide
2020shows.
@@ -65,9 +65,9 @@ should pipe input and output through `iconv`:
6565-f *FORMAT*, -r *FORMAT*, \--from=*FORMAT*, \--read=*FORMAT*
6666: Specify input format. *FORMAT* can be
6767 `native` (native Haskell), `markdown` (markdown or plain text),
68− `rst` (reStructuredText), `html` (HTML), or `latex` (LaTeX).
69− If `+lhs` is appended to `markdown`, `rst`, or `latex`, the input
70− will be treated as literate Haskell source.
68+ `textile` (Textile), `rst` (reStructuredText), `html` (HTML),
69+ or `latex` (LaTeX). If `+lhs` is appended to `markdown`, `rst`,
70+ or `latex`, the input will be treated as literate Haskell source.
7171
7272-t *FORMAT*, -w *FORMAT*, \--to=*FORMAT*, \--write=*FORMAT*
7373: Specify output format. *FORMAT* can be `native` (native Haskell),