pandoc-include-code icon indicating copy to clipboard operation
pandoc-include-code copied to clipboard

A Pandoc filter for including code from source files

Results 17 pandoc-include-code issues
Sort by recently updated
recently updated
newest added

G'day to all the contributors on this project! I would like to ask if this could generate code blocks from a remote git repository --- more specifically, from GitHub itself...

While trying to upgrade [pandoc 3.0 formula](https://github.com/Homebrew/homebrew-core/pull/120967), I ran into some regression test failure. ``` ==> /opt/homebrew/opt/pandoc/bin/pandoc -F /opt/homebrew/Cellar/pandoc-include-code/1.5.0.0_2/bin/pandoc-include-code -o out.html hello.md pandoc-include-code: Error in $: Incompatible API versions: encoded...

Allow building with newer pandoc-types and text > 2.0.

Imagine we have a `test_pandoc.md` file. Then the following: ~~~ Here is some code: ```{.md include=test_pandoc.md} ``` Description environment. ~ I'm in an environment. ```{include=test_pandoc.md} ``` Hi! - List -...

On Alpine Linux, doing `cabal install pandoc-include-code` gives ``` ... Starting pandoc-include-code-0.3.0 (exe:pandoc-include-code) Building pandoc-include-code-0.3.0 (exe:pandoc-include-code) Error: cabal: Failed to build exe:pandoc-include-code from pandoc-include-code-0.3.0. The build process segfaulted (i.e. SIGSEGV)....

pandoc-include-code: Error in $: Incompatible API versions: encoded with [1,22,2,1] but attempted to decode with [1,20]. With latest pandoc and pandoc-include-code installed with cabal. I am guessing the problem is...

With Pandoc 2.19.2, the `base` metadata values seems to have no effect: ``` $ pandoc [...] --metadata=base:myarticledirectory ``` On: ``` ~~~{include=src/algorithms.cpp} ~~~ ``` Results in: ``` pandoc-include-code: src/algorithms.cpp: openFile: does...

The code does not compile with current Pandoc. To make it work update dependency to pandoc-type to **pandoc-types >= 1.22** in in cabal file.

Hello Oskar, I use your Pandoc filter to include several source files in a beamer presentation. Everything works fine - thanks for implementing this filter. It would be great if...

Just thought I'd report this - not really an issue for myself - I can successfully use (7e4d9d967ff3e3855a7eae48408c43b3400ae6f4) in the meantime. On the latest commit on master (fa7719659a7c20cddd30375e78d67f3d43161c58): I suppose...