This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Add support for a custom inline syntax. | |
This pandoc Lua filter allows to add a custom markup syntax | |
extension. It is designed to be adjustable; it should not be | |
necessary to modify the code below the separator line. | |
The example here allows to add highlighted text by enclosing the | |
text with `==` on each side. Pandoc supports this for HTML output | |
out of the box. Other outputs will need additional filters. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Remove all subtrees whose headlines contain class `noexport`. | |
License: MIT | |
Copyright: © Albert Krewinkel | |
]] | |
-- pandoc.utils.make_sections exists since pandoc 2.8 | |
PANDOC_VERSION:must_be_at_least {2,8} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.md diff=markdown |