You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The markdown lexer should allow code blocks that have quad backticks, which is used when you need to encapsulate a triple backtick codeblock. For example, you can see it works fine in GitHub:
This is how you create a codeblock in markdown:
```yaml
---
one: Mark McGwiretwo: Sammy Sosathree: Ken Griffey```
This is more text.
As you can see, it doesn't work with Rouge:
The text was updated successfully, but these errors were encountered:
I think this should probably be marked as a bug. The CommonMark† spec provides that fenced code blocks can contain more than 3 tildes.
† I realise that CommonMark and Markdown are technically different but since CommonMark is the one with a proper spec, it seems logical to use it when trying to write a lexer.
The markdown lexer should allow code blocks that have quad backticks, which is used when you need to encapsulate a triple backtick codeblock. For example, you can see it works fine in GitHub:
As you can see, it doesn't work with Rouge:
The text was updated successfully, but these errors were encountered: