pandoc-include
pandoc-include copied to clipboard
A pandoc filter to allow file and header inclusion
I am working on vscode extension that provide WYSIWYM/Latex-convinienient way to work on complex markdown documentation with inclusions using pandoc-include (with [my patch to support it](https://github.com/belonesox/pandoc-include/tree/support-pandoc-source-pos)). And with back/forward syncing...
removeLeadingWhitespaces() to return the input string if it only contains whitespaces. added try-except around dedent for better error messages
When my included source code contained a newline I got a backtrace: ``` Traceback (most recent call last): File "/usr/bin/pandoc-include", line 8, in sys.exit(main()) File "/usr/lib/python3.10/site-packages/pandoc_include/main.py", line 333, in main...
I know that Issue #1 seems very similar to this, however I have followed the solution there and it does not work for me. ## Problem When trying to use...
Add an id-prefix option for included files, that'd help to avoid conflicting heading IDs from multiple files. (see the `--id-prefix` command line option and the `identifier-prefix` in YAML) This could...
It would be nice to have an option to support the [mdbook include syntax](https://rust-lang.github.io/mdBook/format/mdbook.html#including-files), that'd help portability of markdown documents across tools (e.g. using mdbook to generate html and pandoc...
Consider the following markdown ``` # Software components ## Platform !include J1939Tp/J1939Tp.md ``` J1939Tp.md: ``` # J1939Tp Implements the Transport Protocol (TP) . . . ``` Then I would like...
Hi, Is it possible to parameterize include ? Our use case is to include a customized code block. Maybe is there a workaround ? Regards, Étienne
Pandoc supports implicit header references, as described [here](https://pandoc.org/MANUAL.html#extension-implicit_header_references). But when using `pandoc-include` AND when the file with the referenced header is included after the file with the implicit reference, the...
# Expected When generating a PDF from a file in a subdirectory, that has `include-entry` set, and is including a file with an image, that is referenced relative to the...