gpoore / codebraid

Live code in Pandoc Markdown
BSD 3-Clause "New" or "Revised" License
376 stars 13 forks source link

Markdown-to-Markdown gives raw elements #26

Closed gpoore closed 4 years ago

gpoore commented 4 years ago

This was discovered in looking into #25.

Input:

```{.python .cb.run}
print('''
|   Name    |  SST-2  |  MRPC  |
|-----------|---------|--------|
| accuracy  |  0.868  | 0.757  |
| buildtime | 781.831 | 50.946 |
''')

Convert `-t markdown` with Pandoc 2.9.2.1:
|   Name    |  SST-2  |  MRPC  |
|-----------|---------|--------|
| accuracy  |  0.868  | 0.757  |
| buildtime | 781.831 | 50.946 |


The ` ```{=markdown} ` shouldn't be there, so there is probably an incompatibility with something changed in a recent version of Pandoc.