git.iko.soy/typeable/pandoc
on master help sign in
Adjusted headings in using-the-pandoc-api.md.
commitce05814372b5a9d3d8f90dcd0e7c56df77d966a0 authorJohn MacFarlane <jgm@berkeley.edu> dateSat 16 Sep 2017, 23:17 (9 years ago) parent91ab987
1 file changed+35−6
doc/using-the-pandoc-api.md+35−6
doc/using-the-pandoc-api.md+35−6
@@ -1,29 +1,58 @@
11% Using the pandoc API
22% John MacFarlane
33
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.
57
68# Basic usage
79
10+a simple example
11+
812# The Pandoc structure
913
10−# Reader options
14+blocks/inlines
1115
12−# Writer options
16+# Readers and writers
1317
14−# The PandocMonad class
18+getReader, getWriter
1519
16−custom PandocMonad instances
20+# Options
21+
22+inc extensions
1723
1824# Builder
1925
26+Inlines vs Inline, etc.
27+monoid
28+
2029example: report from CSV data
2130
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+
2241# Generic transformations
2342
2443Walk and syb for AST transformations
2544
2645# Filters
2746
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
2958