1
0
Эх сурвалжийг харах

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

Properly tokenize fence closing in GitHub style code blocks
Henning Dieterichs 4 жил өмнө
parent
commit
52597f7064

+ 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']
 		],