@@ -1,29 +1,58 @@
1% Using the pandoc API
1% Using the pandoc API
2% John MacFarlane
2% John MacFarlane
4−# Concepts
4+intro - pandoc can be used as a library, to write
5+your own custom conversion tools, or to power
6# Basic usage
8# Basic usage
8# The Pandoc structure
12# The Pandoc structure
10−# Reader options
14+blocks/inlines
12−# Writer options
16+# Readers and writers
14−# The PandocMonad class
18+getReader, getWriter
16−custom PandocMonad instances
20+# Options
26+Inlines vs Inline, etc.
20example: report from CSV data
29example: report from CSV data
31+# The PandocMonad class
35+advanced: custom PandocMonad instances
37+# Templates and other data files
39+# Handling errors and warnings
22# Generic transformations
41# Generic transformations
24Walk and syb for AST transformations
43Walk and syb for AST transformations
28−writing filters in Haskell
47+just the basic idea of toJSONFilter
48+the rest can be left to filters.md
55+# Creating a front-end