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

Properly tokenize fence closing in GitHub style code blocks
pull/2748/head
Henning Dieterichs 2021-07-22 22:07:55 +02:00 committed by GitHub
commit 52597f7064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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