summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* Update tool which generates lua module docsAlbert Krewinkel2017-12-29
| | | | | | 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.
* data/pandoc.lua: drop function pandoc.global_filterAlbert Krewinkel2017-12-29
| | | | | | | | | | 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.
* doc/lua-filters.md: re-add docs for helper functionsAlbert Krewinkel2017-12-29
| | | | | | | 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.
* data/pandoc.lua: fix documentation for global_filterAlbert Krewinkel2017-12-29
|
* Update lua-filters.md and the tool that generates it.John MacFarlane2017-12-28
|
* Update docs on filters.John MacFarlane2017-12-28
|
* Tweaks to lua-filters.md docsJohn MacFarlane2017-12-26
|
* Lua modules: add function pandoc.utils.hierarchicalizeAlbert Krewinkel2017-12-23
| | | | Convert list of Pandoc blocks into (hierarchical) list of Elements.
* Lua modules: add function pandoc.utils.normalize_dateAlbert Krewinkel2017-12-23
| | | | | The function parses a date and converts it (if possible) to "YYYY-MM-DD" format.
* Lua modules: add function pandoc.utils.to_roman_numeralAlbert Krewinkel2017-12-23
| | | | | The function allows conversion of numbers below 4000 into roman numerals.
* doc/lua-filter.md: document pandoc.utils.stringifyAlbert Krewinkel2017-12-22
| | | | Change: minor
* Lua modules: added pandoc.utils moduleAlbert Krewinkel2017-12-21
| | | | | A new module `pandoc.utils` has been created. It holds utility functions like `sha1`, which was moved from the main `pandoc` module.
* filters.md: say that Text.Pandoc.JSON comes form pandoc-types.John MacFarlane2017-12-14
| | | | Closes jgm/pandoc-website#16.
* Delete removed -S option from command in epub.md (#4151)Georger Ara├║jo2017-12-13
| | | | Because `--smart/-S` has been removed. Maybe ` -f markdown+smart` shoud also be added?
* Lua filters: use script to initialize the interpreterAlbert Krewinkel2017-12-06
| | | | | | | 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.
* Lua/StackInstances: push Pandoc and Meta via constructorAlbert Krewinkel2017-12-01
| | | | | | | Pandoc and Meta elements are now pushed by calling the respective constructor functions of the pandoc Lua module. This makes serialization consistent with the way blocks and inlines are pushed to lua and allows to use List methods with the `blocks` value.
* lua-filters.md: add documentation for pandoc.ListAlbert Krewinkel2017-12-01
|
* lua-filters.md - added tikz filter example.John MacFarlane2017-11-21
|
* Added epub.md, getting-started.md to docs.John MacFarlane2017-11-21
| | | | These used to live in the website repo.
* Update title and authors on lua-filters.md.John MacFarlane2017-11-20
|
* Documented text module for lua-filters.John MacFarlane2017-11-18
| | | | See #4077.
* Update man page lua filter to use text module.John MacFarlane2017-11-18
|
* More efficient wordcount.lua example.John MacFarlane2017-11-12
|
* lua-filters.md: add wordcount example.John MacFarlane2017-11-12
|
* Improve handout example.John MacFarlane2017-11-12
|
* Fixed typo in lua-filters exmaple.John MacFarlane2017-11-12
|
* lua-filters.md doc: Added handout example.John MacFarlane2017-11-12
|
* Fix a typo: "uisng" -> "using"Alexander Krotov2017-11-12
|
* lua-filters.md: use real-world man page filter as example.John MacFarlane2017-11-11
|
* Add lua filter functions to walk inline and block elements.John MacFarlane2017-11-11
| | | | | | | Refactored some code from Text.Pandoc.Lua.PandocModule into new internal module Text.Pandoc.Lua.Filter. Add `walk_inline` and `walk_block` in pandoc lua module.
* partially undo commit da1e626Kolen Cheung2017-10-26
|
* doc/using-the-pandoc-api.md: proofread (minor)Kolen Cheung2017-10-26
|
* doc/filters.md: add more links to pandoc filters in diff. lang.Kolen Cheung2017-10-26
|
* Small fix to API guide.John MacFarlane2017-10-26
|
* Finshed API guide. Closes #3289.John MacFarlane2017-10-26
|
* More API documentation.John MacFarlane2017-10-26
|
* More work on using-the-pandoc-api.md.John MacFarlane2017-10-26
|
* More work on using-the-pandoc-api.md.John MacFarlane2017-10-25
|
* Small improvements in using-the-pandoc-api.md.John MacFarlane2017-10-24
|
* More progress on using-the-pandoc-api.md.John MacFarlane2017-10-24
|
* Some work on using-the-pandoc-api.md.John MacFarlane2017-10-24
|
* pandoc.lua: throw better error when pipe command failsAlbert Krewinkel2017-10-05
| | | | | A table containing the error code, command, and command output is thrown instead of just a string error message.
* lua-filters.md: fix link to module documentationAlbert Krewinkel2017-10-04
|
* Added abc.lua example to lua-filters documentation.John MacFarlane2017-10-03
| | | | Also fixed docs for `pipe`.
* Lua: added 'pipe', which encapsulates Text.Pandoc.Process.pipeProcess.John MacFarlane2017-10-01
| | | | This is hard to do in lua, so it's helpful to provide this.
* Lua: move sha1 from pandoc.mediabag to pandoc.John MacFarlane2017-10-01
|
* Lua: use sha1 instead of hashname.John MacFarlane2017-09-30
| | | | Better to leave control over the extension to the user.
* Lua: make fetch return mime type first and then content.John MacFarlane2017-09-30
|
* Lua: simply mediabag module.John MacFarlane2017-09-30
| | | | | | Now 'fetch' simply fetches content and mime type. A new 'hashname' function is provided to get a filename based on the sha1 hash of the contents and the mime type.
* Lua: make lua.mediabag.fetch return filename and mime type.John MacFarlane2017-09-30
| | | | | This is necessary because you may need to insert the filename into an image or link element.