pandoc/doc
Albert Krewinkel 83b5b79c0e Custom reader: pass list of sources instead of concatenated text
The first argument passed to Lua `Reader` functions is no longer a plain
string but a richer data structure. The structure can easily be
converted to a string by applying `tostring`, but is also a list with
elements that contain each the *text* and *name* of each input source as
a property of the respective name.

A small example is added to the custom reader documentation, showcasing
its use in a reader that creates a syntax-highlighted code block for
each source code file passed as input.

Existing readers must be updated.
2021-12-11 08:59:11 -08:00
..
custom-readers.md Custom reader: pass list of sources instead of concatenated text 2021-12-11 08:59:11 -08:00
custom-writers.md custom-writers.md: use filter to include source of example. 2021-12-06 13:04:51 -08:00
customizing-pandoc.md Fix capitalization of "Linux" in docs (#5859) 2019-10-28 10:45:36 -07:00
epub.md Mention GladTeX for EPUB export 2021-06-07 19:17:39 -06:00
faqs.md Add a faq about the "Cannot allocate memory" error on M1 macs. 2021-08-01 10:29:47 -06:00
filters.md Change JSON encodings of some types. 2021-10-27 12:50:51 -07:00
getting-started.md Suggest VSCode as a possible editor in getting-started.md. 2021-12-02 08:28:18 -08:00
jats.md JATS template: fix incomplete previous commit 2021-11-11 09:44:49 +01:00
libraries.md Add unicode-collation to list of libraries developed to support pandoc. 2021-04-26 09:29:47 -07:00
lua-filters.md Switch to released pandoc-lua-marshal-0.1.2 2021-12-10 17:24:50 +01:00
org.md docs/org.md: Add note about default export behavior of org-mode in (#7238) 2021-04-26 11:54:25 +02:00
short-guide-to-pandocs-sources.md short-guide: Transitions -> Transformations. 2021-10-27 16:19:39 -07:00
using-the-pandoc-api.md using-the-pandoc-api.md: switch from String to Text 2021-06-08 12:38:20 +02:00