{"repo":"DCsunset/pandoc-include","free":true,"listed":false,"github":"https://github.com/DCsunset/pandoc-include","clone":"git clone https://github.com/DCsunset/pandoc-include.git","description":"A pandoc filter to allow file and header inclusion","language":"Python","stars":82,"topics":["pandoc","pandoc-filter","markdown","python"],"license":"MIT","category":"productivity","readme_excerpt":"pandoc-include Pandoc filter to allow including files and headers in a document. Features Include as raw blocks Indent and dedent included contents Partial include: Allow including only parts of the file using options Code include: Allow using !include in code blocks Unix style pathname Recursive include: It depends on include-entry header to work Yaml header Merging: When an included file has its header, it will be merged into the current header. If there's a conflict, the original header of the current file remains. Header include: Use !include-header file.yaml to include Yaml header from file. TODO - [ ] Write options to a tmp file and pass the filename by environment variable Installation Using pip To install the latest published version: To install the current (development) version hosted on the repository, use To check the version currently installed: Using pipx If pip install give you a error: externally-managed-environment error message, you may bypass this restriction using pipx. To install the latest published version: To install the current (development) version hosted on the repository, use To check the version currently installed, inspect the output of Using Nix pandoc-include is included in the Nixpkgs. Simply add the package to your NixOS config or use the following command: Usage Note : you should use pandoc with version greater than or equal to 2.17 , which is the minimum version that is tested. Command To use this filter, add to pandoc command Syntax Each in","default_branch":null,"files":null,"tree":[],"storefront":"/r/DCsunset","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DCsunset/pandoc-include/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}