{"id":26895873,"url":"https://github.com/mittelmark/pandoc-filters","last_synced_at":"2026-04-13T02:05:05.779Z","repository":{"id":141948883,"uuid":"596275427","full_name":"mittelmark/pandoc-filters","owner":"mittelmark","description":"Various filters in Lua and Tcl for the Pandoc document processor","archived":false,"fork":false,"pushed_at":"2024-03-23T07:13:09.000Z","size":210,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-23T08:23:46.584Z","etag":null,"topics":["lua","lua-filters","markdown","pandoc-filter","python","tcl"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mittelmark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-02-01T20:46:50.000Z","updated_at":"2024-03-23T08:23:48.767Z","dependencies_parsed_at":"2023-09-29T09:20:04.368Z","dependency_job_id":null,"html_url":"https://github.com/mittelmark/pandoc-filters","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mittelmark%2Fpandoc-filters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mittelmark%2Fpandoc-filters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mittelmark%2Fpandoc-filters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mittelmark%2Fpandoc-filters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mittelmark","download_url":"https://codeload.github.com/mittelmark/pandoc-filters/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246574850,"owners_count":20799221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lua","lua-filters","markdown","pandoc-filter","python","tcl"],"created_at":"2025-04-01T02:58:55.741Z","updated_at":"2026-04-13T02:05:05.737Z","avatar_url":"https://github.com/mittelmark.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pandoc-filters\n\nVarious filters in Lua and Tcl for the Pandoc document processor\n\nThe following filters are provided:\n\n- [filter-pikchr.lua](lua-filters/filter-pikchr.lua) - [Manual :orange_book:](https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pandoc-filters/master/doc/filter-pikchr.html)\n  adding [pikchr]([https://pikchr.org) diagrams to your documentation directly\n- [filter-python.lua](lua-filters/filter-python.lua) -\n[Manual :orange_book:](https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pandoc-filters/master/doc/filter-python.html) - embed and evaluate Python code in Markdown documents, here an \n[HTML example output file for PlantUML code](http://htmlpreview.github.io/?https://github.com/mittelmark/pandoc-filters/blob/master/examples/example-out.html)\nand here an [HTML example output file for Pikchr code](http://htmlpreview.github.io/?https://github.com/mittelmark/pandoc-filters/blob/master/examples/example-pikchr.html)\n- [filter-kroki.lua](lua-filters/filter-kroki.lua) - \n[Manual :orange_book:](https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pandoc-filters/master/doc/filter-kroki.html) - embed diagram code and embed image links using the [https://krokio.io](https://kroki.io) webservice, here an [example HTML output file](http://htmlpreview.github.io/?https://github.com/mittelmark/pandoc-filters/blob/master/examples/example-kroki.html)\n- [filter-link-to-html.lua](lua-filters/filter-link-to-html.lua) - [Manual :orange_book:](https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pandoc-filters/master/doc/filter-link-to-html.html) - convert Markdown or Rst file extensions in links to HTML extensions\n- [filter-code-title.lua](lua-filters/filter-code-title.lua) - \n  [Manual :orange_book:](https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pandoc-filters/master/doc/filter-code-title.html) - add code block  titles if a title option is given in curly braces for the code chunk\n\n## Other filter links\n\n* [tcl: pantcl](https://github.com/mittelmark/pantcl) - many filters encoded in Tcl as well as standalone application for document conversion\n* [lua: abbreviations](https://github.com/mittelmark/pandoc-abbreviations) - the original port did not work with newer pandoc versions\n* [lua: abstract-section](https://github.com/pandoc-ext/abstract-section) - place the abstract in the document not in the YAML header\n* [lua: acronyms](https://github.com/tarleb/acronyms)  - create abbreviations and lists of abbreviations\n* [lua: doi2cite](https://github.com/pandoc/lua-filters/tree/master/doi2cite)\n  - add citations using just doi ids\n* [lua: filters](https://github.com/pandoc/lua-filters) - collection of various Lua filters\n\n## Installation\n\nDownload the filters from: [https://github.com/mittelmark/pandoc-filters/archive/refs/heads/main.zip](https://github.com/mittelmark/pandoc-filters/archive/refs/heads/main.zip) and place them on your harddisk. If you process your document you specify the filters like this:\n\n```\npandoc input.md -o output.html --lua-filter /path/to/filter-python.py -s \n```\n\nAlternatively you can place the files into your pandoc user directory which you\ncan find out by writing `pandoc -v` in your terminal. If you place your Lua files\ninto this folder you can use the Lua filters without using the file path like\nthis:\n\n```\npandoc input.md -o output.html --lua-filter filter-code-title.lua -s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmittelmark%2Fpandoc-filters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmittelmark%2Fpandoc-filters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmittelmark%2Fpandoc-filters/lists"}