Closed erictuvesson closed 2 years ago
Good catch, this kind of metadata is allowable, at least in GFM: https://github.github.com/gfm/#example-113
yeah, showdown doesn't allow spaces after the code block delimiter.
Should be fixed in commit 6711425
Hi! Was this change released?
I have the issue when there is a space after the language: "```python ". I'm using the 2.1.0 version of showdown.
yarn list --pattern showdown
yarn list v1.22.19
├─ @types/showdown@2.0.0
├─ showdown-highlight@3.1.0
└─ showdown@2.1.0
Edit: that commit change is indeed in your main branch: https://github.com/showdownjs/showdown/blob/master/dist/showdown.js#L3404
But not in the 2.1.0 release code.
Thanks!
@tivie Any help on ^ ?
Markdown Input:
Expected Output:
Actual Output:
Extra
Removing
custom data
from the markdown will solve the issue, but it doesn't allow for code block extensions.