git.iko.soy/typeable/pandoc
on master help sign in
Adjusted headings in using-the-pandoc-api.md.
ce05814John MacFarlane
doc/using-the-pandoc-api.md+35−6
@@ -1,29 +1,58 @@
1% Using the pandoc API
1% Using the pandoc API
2% John MacFarlane
2% John MacFarlane
3
3
4−# Concepts
4+intro - pandoc can be used as a library, to write
5+your own custom conversion tools, or to power
6+a web application.
5
7
6# Basic usage
8# Basic usage
7
9
10+a simple example
11+
8# The Pandoc structure
12# The Pandoc structure
9
13
10−# Reader options
14+blocks/inlines
11
15
12−# Writer options
16+# Readers and writers
13
17
14−# The PandocMonad class
18+getReader, getWriter
15
19
16−custom PandocMonad instances
20+# Options
21+
22+inc extensions
17
23
18# Builder
24# Builder
19
25
26+Inlines vs Inline, etc.
27+monoid
28+
20example: report from CSV data
29example: report from CSV data
21
30
31+# The PandocMonad class
32+
33+motivations
34+Class.
35+advanced: custom PandocMonad instances
36+
37+# Templates and other data files
38+
39+# Handling errors and warnings
40+
22# Generic transformations
41# Generic transformations
23
42
24Walk and syb for AST transformations
43Walk and syb for AST transformations
25
44
26# Filters
45# Filters
27
46
28−writing filters in Haskell
47+just the basic idea of toJSONFilter
48+the rest can be left to filters.md
49+
50+# Self-contained
51+
52+
53+# PDF
54+
55+# Creating a front-end
56+
57+Text.Pandoc.App
29
58