Check content of code blocks for any sequence of backticks #89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/code_block"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CommonMark allows a sequence of backticks within a code block, but the fence has to be at least one backtick longer than the sequence within. See the linked issue for a detailed explanation.
We're still targeting browsers that don't have
String.repeat. But it seems you can easily avoid using that by appending an extra backtick to the matched string itself.Ok rewrote it without
String.repeat.Thanks!