Loading LICENSE-3RD-PARTY.md +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ ## Pandoc filter to set the title of a document - `src/coliverter/resources/pandoc-heading-to-title.lua` - `src/coliverter/resources/pandoc/heading-to-title.lua` - Answer to: Set html title from the first header with pandoc - Author: johndoe (https://stackoverflow.com/users/2520247/johndoe) - URL: https://stackoverflow.com/a/76048743 Loading src/coliverter/toc/__init__.py→src/coliverter/resources/__init__.py +0 −0 File moved. src/coliverter/resources/pandoc/__init__.py 0 → 100644 +0 −0 Empty file added. src/coliverter/resources/pandoc/get_filter.py 0 → 100644 +7 −0 Original line number Diff line number Diff line from importlib import resources from pathlib import Path def get_filter(name: str) -> Path: with resources.path("coliverter.resources.pandoc", f"{name}.lua") as path: return path src/coliverter/resources/pandoc-heading-to-title.lua→src/coliverter/resources/pandoc/heading-to-title.lua +0 −0 File moved. View file Loading
LICENSE-3RD-PARTY.md +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ ## Pandoc filter to set the title of a document - `src/coliverter/resources/pandoc-heading-to-title.lua` - `src/coliverter/resources/pandoc/heading-to-title.lua` - Answer to: Set html title from the first header with pandoc - Author: johndoe (https://stackoverflow.com/users/2520247/johndoe) - URL: https://stackoverflow.com/a/76048743 Loading
src/coliverter/resources/pandoc/get_filter.py 0 → 100644 +7 −0 Original line number Diff line number Diff line from importlib import resources from pathlib import Path def get_filter(name: str) -> Path: with resources.path("coliverter.resources.pandoc", f"{name}.lua") as path: return path
src/coliverter/resources/pandoc-heading-to-title.lua→src/coliverter/resources/pandoc/heading-to-title.lua +0 −0 File moved. View file