Possible to use within code blocks?
dmalan opened this issue · comments
David J. Malan commented
Just wanted to ask if there's a way (or alternative syntax) to use pandoc-include
to process include statements within code blocks, a la the below?
```c
!include foo.c
```
We noticed that, by default, the above simple outputs !include foo.c
literally, as via:
<div class="sourceCode" id="cb3"><pre class="sourceCode c"><code class="sourceCode c"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>!include foo.c</span></code></pre>
Many thanks!
DCsunset commented
It sounds like a good suggestion. I will try to add this feature in the future.
David J. Malan commented
Thanks very much!
DCsunset commented
I have added code include in v0.8.5. I hope it could solve this issue.
David J. Malan commented
Working well! Thank you very much!