Skip to content

Commit

Permalink
Fix Markdown injection working on json codeblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed May 6, 2024
1 parent 791a3c3 commit 3d15a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/markdown-textmate.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"repository": {
"fenced_code_block_json-textmate": {
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(json)((\\s+|:|,|\\{|\\?|-)textmate\\b[^`]*)?$)",
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(json)((\\s+|:|,|\\{|\\?|-)textmate\\b[^`]*)$)",
"name": "markup.fenced_code.block.markdown",
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
"beginCaptures": {
Expand Down

0 comments on commit 3d15a82

Please sign in to comment.