lua-filters
lua-filters copied to clipboard
A collection of lua filters for pandoc
Convert Pandoc's LaTeX table output from `longtable` to `xtab`. This addresses the issue of [longtables not being compatible with multiple columns layouts](https://github.com/jgm/pandoc/issues/1023). Could be improved by turning table headers into...
Dear Folks, I wish to contribute a new Lua filter. I am aware of the fact that you are in the process of changing the way you accept and manage...
Currently, diagram-generator.lua uses makes svg images when latex is the target output. If I understand correctly, it would be better to just use the pdf directly when making tikz diagrams...
I made the following addition: ```lua -- Now, transfer the attribute "name" from the code block to the new -- image block. It might gets used by the figure numbering...
The tikZ example uses absolute values to crop the left margin from a picture. However, this is error prone and I think it might depend on the local latex installation....
[pikchr](https://pikchr.org) is a simple markup language for creating graphical diagrams with a nice standalone program to render. It'd be useful to have support for inline pikchr documents in Pandoc. Here's...
Render math with katex server-side.
doi2cite currently uses Bibtex (`application/x-bibtex`): https://github.com/pandoc/lua-filters/blob/master/doi2cite/doi2cite.lua#L105 Given that bibliography details can be downloaded in CSL-JSON format as well, e.g.: `curl -LH "Accept: application/vnd.citationstyles.csl+json" https://doi.org/10.1126/science.169.3946.635` perhaps that should be preferred since...
- include-files: debug: URLs are not relative path - include-code-files: Support include URL files - diagram-generator: Support mermaid, drawio and diagram(drawio in wiki.js)
main.md ~~~ This is main.md ```{.include} sub.md ``` ~~~ ---------------------------------------- sub.md ~~~ This is sub.md   ~~~ ---------------------------------------- ```bash pandoc -L include-files.lua sub.md -o sub.pdf ``` It's...