mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 13:55:41 +01:00
Properly tokenize fence closing in GitHub style code blocks
This commit is contained in:
parent
0500e21d95
commit
0ab2dffd3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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']
|
||||
],
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue