-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
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
- Item
```{include=test_pandoc.md}
```
successfully insert the first time, but not the other two times.
It seems like this is a regression, I believe it used to work properly not so long ago.
This is with pandoc-include-code-1.5.0.0, and I've tried with pandoc 2.11.0.4 up to pandoc 2.11.3.2-1 and still always have the same bug.
The first inclusion gives something (like)
<div class="sourceCode" id="cb1"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>I'm a test for pandoc. </span></code></pre></div>
while the other gives something (like)
<div class="sourceCode" id="cb3" data-include="test_pandoc.md"><pre class="sourceCode md"><code class="sourceCode markdown"></code></pre></div>
Somehow, instead of been included, the code becomes a data-include value?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels