Explorar el Código

Properly tokenize fence closing in GitHub style code blocks

Jonatan Kłosko hace 4 años
padre
commit
0ab2dffd3b
Se han modificado 1 ficheros con 1 adiciones y 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']
 		],