aboutsummaryrefslogtreecommitdiff
path: root/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Format.hs
AgeCommit message (Collapse)Author
2026-01-08Lua: switch to HsLua 2.5Albert Krewinkel
2024-07-08Harmonize maintainer email addresses in module headers.Albert Krewinkel
2024-04-25Update copyright dates to 2024.John MacFarlane
2023-03-20T.P.Format: add new function `formatFromFilePaths` [API Change] (#8710)Albert Krewinkel
* T.P.Format: export `formatFromFilePaths` [API change] * Lua: add function `pandoc.format.from_path` * Update lua-filters.md * The old T.P.App.FormatHeuristics module has been removed. This is an alternative to #8693.
2023-03-19lua-filters.md: auto-generate docs for more modulesAlbert Krewinkel
2023-03-19Lua: add info on when functions became available in pandocAlbert Krewinkel
2023-03-13Switch to hslua-2.3Albert Krewinkel
2023-01-18Lua: add function pandoc.format.extensions.Albert Krewinkel
This simplifies the creation of custom readers and writers that are based on built-in formats.
2023-01-10Update copyright years, it's 2023!Albert Krewinkel
2022-12-03doc/lua-filters.md: add documentation for pandoc.formatAlbert Krewinkel
2022-10-10Lua: support extensions in custom writersAlbert Krewinkel
Custom writers can define the extensions that they support via the global `writer_extensions`. The variable's value must be a table with all supported extensions as keys, and their default status as values. E.g., the below specifies that the writer support the extensions `smart` and `sourcepos`, but only the `smart` extension is enabled by default: writer_extensions = { smart = true, sourcepos = false, }
2022-10-06Lua: cleanup module dependenciesAlbert Krewinkel
Ensures a cleaner module dependency graph.
2022-10-04Lua: add new module `pandoc.format`.Albert Krewinkel
The module provides functions to query the set of extensions supported by formats, and the set of extension enabled per default.