Fix codeblock underscores with language
| @@ -8,7 +8,7 @@ export const markdownUnderscoreExt = () => { | ||
| 8 | 8 | |
| 9 | 9 | return [{ |
| 10 | 10 | type: 'output', |
| 11 | 11 | regex: new RegExp('(<code(?:\\s+[^>]*)?>[\\s\\S]*?<\\/code>)|\\b(?<!_)_(?!_)(.*?)(?<!_)_(?!_)\\b', 'g'), |
| 12 | 12 | replace: function(match, codeContent, italicContent) { |
| 13 | 13 | if (codeContent) { |
| 14 | 14 | // If it's inside <code> tags, return unchanged |