Explorar o código

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

Properly tokenize fence closing in GitHub style code blocks
Henning Dieterichs %!s(int64=4) %!d(string=hai) anos
pai
achega
52597f7064
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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']
 		],