aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2018-12-29doc/org.md: improve documentation of org featuresAlbert Krewinkel1-15/+114
2018-11-29Fix progit book urlJulien Kirch1-2/+2
2018-11-19Lua filters: test AST object equality via HaskellAlbert Krewinkel1-1/+47
Equality of Lua objects representing pandoc AST elements is tested by unmarshalling the objects and comparing the result in Haskell. A new function `equals` which performs this test has been added to the `pandoc.utils` module. Closes: #5092
2018-11-17cusomizing-pandoc.md: streamline template textMauro Bieg1-11/+3
2018-11-17customizing-templates.md: variable options tableMauro Bieg1-2/+21
2018-11-01getting-started.md: Added title to test1.md to avoid warning.John MacFarlane1-0/+4
2018-10-25Lua: allow access to pandoc state (#5015)Albert Krewinkel1-0/+47
* Lua: allow access to pandoc state Lua filters and custom writers now have read-only access to most fields of pandoc's internal state via the global variable `PANDOC_STATE`. * Lua: allow iterating through fields of PANDOC_STATE * Lua filters doc: describe CommonState * Lua filters doc: mention global variable PANDOC_STATE * Lua: add access to logs Log messages can currently only be printed, but not decomposed.
2018-10-19Lua filter doc: merge type references into main documentAlbert Krewinkel2-661/+665
2018-10-18Lua filters doc: fix and add more links to typesAlbert Krewinkel1-45/+48
2018-10-16Added note to customizing-pandoc.John MacFarlane1-0/+4
2018-10-16customizing-pandoc: add suggestion about 'pandoc -t native'.John MacFarlane1-1/+2
2018-10-16Revised customizing-pandoc.md and included TODOs.John MacFarlane1-63/+151
2018-10-16add docs about customizing pandoc (#4972)Mauro Bieg2-2/+66
closes #3288
2018-10-16Lua filter docs: extend description of table fieldsAlbert Krewinkel1-9/+18
2018-10-15Lua filter docs: describe Attr typeAlbert Krewinkel1-13/+28
2018-10-15Lua filter docs: render field names as codeAlbert Krewinkel1-131/+131
2018-10-15Lua filter docs: fix typosAlbert Krewinkel1-5/+5
2018-10-15Lua filter docs: complete, fix MetaValue documentationAlbert Krewinkel1-5/+47
2018-10-15Lua filters doc: add ReaderOptions to list of objectsAlbert Krewinkel1-0/+35
2018-10-13Lua filter docs: add documentation for Element/SecAlbert Krewinkel1-0/+30
2018-10-11Lua filter docs: document list attributesAlbert Krewinkel1-3/+27
2018-10-11data/pandoc.lua: add datatype ListAttributesAlbert Krewinkel1-0/+17
Make ListAttributes a datatype. The type is similar to Attr.
2018-10-11Lua filter docs: document fields of Citation objectsAlbert Krewinkel1-2/+26
2018-10-11Lua filter docs: document fields of inline objectsAlbert Krewinkel1-14/+96
2018-10-06Documentation: add draft for Lua objects referenceAlbert Krewinkel1-0/+396
2018-10-06Lua filter doc: fix description of Code.textAlbert Krewinkel1-1/+1
2018-09-07lua-filters.md: add links to filters, and to lua-filters repository.John MacFarlane1-5/+10
Closes #4874.
2018-07-30Lua Utils module: add function blocks_to_inlines (#4799)Albert Krewinkel1-0/+31
Exposes a function converting which flattenes a list of blocks into a list of inlines. An example use case would be the conversion of Note elements into other inlines.
2018-07-02More spellcheckAlexander Krotov2-3/+3
2018-03-19Fix example in lua-filters docs. Fixes #4459 (#4476)HeirOfNorton1-1/+1
2018-02-25doc/org.md: Add Org-mode documentation (very first draft)Albert Krewinkel1-0/+95
2018-02-24doc/lua-filters.md: document global vars set for filtersAlbert Krewinkel1-3/+36
2018-01-22Fix Text.Pandoc.Builder linkAlexander Krotov1-1/+1
2018-01-13Lua modules: add function pandoc.utils.run_json_filterAlbert Krewinkel1-0/+31
Runs a JSON filter on a Pandoc document.
2018-01-07data/pandoc.lua: fix docstringsAlbert Krewinkel1-0/+2
Change: minor
2017-12-29Update tool which generates lua module docsAlbert Krewinkel1-8/+6
All "helper functions" are not part of the Lua code for module pandoc, but are added in Haskell. The respective documentation section must therefore be excluded from automatic regeneration.
2017-12-29data/pandoc.lua: drop function pandoc.global_filterAlbert Krewinkel1-19/+0
The function `global_filter` was used internally to get the implicitly defined global filter. It was of little value to end-users, but caused unnecessary code duplication in pandoc. The function has hence been dropped. Internally, the global filter is now received by interpreting the global table as lua filter. This is a Lua API change.
2017-12-29doc/lua-filters.md: re-add docs for helper functionsAlbert Krewinkel1-0/+75
These docs are dropped, as the functions are no longer part of data/pandoc.lua, from which this section is generated. This is only a temporary fix: a proper fix will have to re-think how this section is updated.
2017-12-29data/pandoc.lua: fix documentation for global_filterAlbert Krewinkel1-15/+4
2017-12-28Update lua-filters.md and the tool that generates it.John MacFarlane1-181/+107
2017-12-28Update docs on filters.John MacFarlane1-5/+4
2017-12-26Tweaks to lua-filters.md docsJohn MacFarlane1-2/+3
2017-12-23Lua modules: add function pandoc.utils.hierarchicalizeAlbert Krewinkel1-0/+28
Convert list of Pandoc blocks into (hierarchical) list of Elements.
2017-12-23Lua modules: add function pandoc.utils.normalize_dateAlbert Krewinkel1-0/+11
The function parses a date and converts it (if possible) to "YYYY-MM-DD" format.
2017-12-23Lua modules: add function pandoc.utils.to_roman_numeralAlbert Krewinkel1-3/+18
The function allows conversion of numbers below 4000 into roman numerals.
2017-12-22doc/lua-filter.md: document pandoc.utils.stringifyAlbert Krewinkel1-10/+27
Change: minor
2017-12-21Lua modules: added pandoc.utils moduleAlbert Krewinkel1-14/+21
A new module `pandoc.utils` has been created. It holds utility functions like `sha1`, which was moved from the main `pandoc` module.
2017-12-14filters.md: say that Text.Pandoc.JSON comes form pandoc-types.John MacFarlane1-3/+3
Closes jgm/pandoc-website#16.
2017-12-13Delete removed -S option from command in epub.md (#4151)Georger Araújo1-1/+1
Because `--smart/-S` has been removed. Maybe ` -f markdown+smart` shoud also be added?
2017-12-06Lua filters: use script to initialize the interpreterAlbert Krewinkel1-1/+29
The file `init.lua` is used to initialize the Lua interpreter which is used in Lua filters. This gives users the option to require libraries which they want to use in all of their filters, and to extend default modules.