From ce05814372b5a9d3d8f90dcd0e7c56df77d966a0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 16 Sep 2017 23:17:33 -0700 Subject: Adjusted headings in using-the-pandoc-api.md. --- doc/using-the-pandoc-api.md | 41 +++++++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) (limited to 'doc/using-the-pandoc-api.md') diff --git a/doc/using-the-pandoc-api.md b/doc/using-the-pandoc-api.md index e80c3641f..aa9ab8c76 100644 --- a/doc/using-the-pandoc-api.md +++ b/doc/using-the-pandoc-api.md @@ -1,29 +1,58 @@ % Using the pandoc API % John MacFarlane -# Concepts +intro - pandoc can be used as a library, to write +your own custom conversion tools, or to power +a web application. # Basic usage +a simple example + # The Pandoc structure -# Reader options +blocks/inlines -# Writer options +# Readers and writers -# The PandocMonad class +getReader, getWriter -custom PandocMonad instances +# Options + +inc extensions # Builder +Inlines vs Inline, etc. +monoid + example: report from CSV data +# The PandocMonad class + +motivations +Class. +advanced: custom PandocMonad instances + +# Templates and other data files + +# Handling errors and warnings + # Generic transformations Walk and syb for AST transformations # Filters -writing filters in Haskell +just the basic idea of toJSONFilter +the rest can be left to filters.md + +# Self-contained + + +# PDF + +# Creating a front-end + +Text.Pandoc.App -- cgit v1.2.3