Closed susnux closed 2 years ago
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.
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!
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.