瀏覽代碼

Merge pull request #149 from jonatanklosko/jk-md-fence-closing

Properly tokenize fence closing in GitHub style code blocks
Henning Dieterichs 4 年之前
父節點
當前提交
52597f7064
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/markdown/markdown.ts

+ 1 - 1
src/markdown/markdown.ts

@@ -135,7 +135,7 @@ export const language = <languages.IMonarchLanguage>{
 
 		// github style code blocks
 		codeblockgh: [
-			[/```\s*$/, { token: 'variable.source', next: '@pop', nextEmbedded: '@pop' }],
+			[/```\s*$/, { token: 'string', next: '@pop', nextEmbedded: '@pop' }],
 			[/[^`]+/, 'variable.source']
 		],