Commit graph

15 commits

Author SHA1 Message Date
John MacFarlane
9a47c7863b Lua filters: set global FORMAT instead of args.
This changes the type of runLuaFilter.
2017-09-26 20:20:09 -07:00
Albert Krewinkel
2d416e203e Document possible return values of lua filter functions
This is mostly copy'n'pasted from the pandocfilters documentation.
2017-09-24 12:04:15 -07:00
John MacFarlane
ce05814372 Adjusted headings in using-the-pandoc-api.md. 2017-09-16 23:17:33 -07:00
John MacFarlane
91ab987a52 Removed customizing-pandoc.md from doc/, added filters.md.
filters.md is essentially the scripting tutorial from the
webiste.
2017-09-16 23:00:20 -07:00
John MacFarlane
9add713654 Moved ldoc.ltp from doc to tools.
doc should be reserved for actual documents, I think.

@tarleb - will this cause a problem?
2017-09-16 22:47:49 -07:00
Albert Krewinkel
79b1a701b8
lua-filters.md: append docs for pandoc's lua module
The documentation was generated from `data/pandoc.lua` using the
following command:

    ldoc -l doc -d /tmp data/pandoc.lua;
    pandoc -t markdown --columns=65 \
           --atx-headers /tmp/index.html >> \
           doc/lua-filters.md
2017-08-31 16:57:14 +02:00
Albert Krewinkel
bc47cfd40e
Add ldoc template for lua module documentation
The template can be used instead of the default template by calling ldoc
with the `-l doc` option, where *doc* is the directory of the template.
2017-08-31 16:57:08 +02:00
Albert Krewinkel
9ada1defb5
Document fallback functions in lua filters 2017-08-30 15:09:54 +02:00
John MacFarlane
f2dfb3f23b Added introduction and lightly edited rest of lua-filters document.
See #3608.
2017-08-21 22:14:26 -07:00
Albert Krewinkel
4567105f6c
doc/lua-filter.md: Add metadata variable replacment example 2017-08-21 19:00:51 +02:00
Albert Krewinkel
29a6793811
lua-filters.md: update docs and mention implicit filters 2017-08-21 16:53:00 +02:00
John MacFarlane
64ff86514b Added example of setting date with lua filter. 2017-08-14 09:57:01 -07:00
John MacFarlane
c505de59c0 Added link-table example to doc/lua-filters.md. 2017-06-28 15:31:42 +02:00
Albert Krewinkel
1afdccfa8c
Document lua filters 2017-04-30 15:55:45 +02:00
John MacFarlane
5b70b57c11 Added skeletons for docs on customizing pandoc and using pandoc API.
See #3289 and  #3288.
2017-02-01 12:50:44 +01:00