diff --git a/magic-editor/src/console/src/scripts/editor/high-light.js b/magic-editor/src/console/src/scripts/editor/high-light.js index 1f51c3e4..5686bcf8 100644 --- a/magic-editor/src/console/src/scripts/editor/high-light.js +++ b/magic-editor/src/console/src/scripts/editor/high-light.js @@ -9,10 +9,6 @@ export const HighLightOptions = { tokenizer: { root: [ [/\s+/, 'white'], - [ - /```((?:\w|[\/\-#])+).*$/, - { token: 'string', next: '@codeblockgh', nextEmbedded: '$1' } - ], [/```$/, { token: 'string', next: '@codeblock' }], [/[a-zA-Z_$][\w$]*[\s]?/, { cases: { @@ -78,10 +74,6 @@ export const HighLightOptions = { [/^```$/, { token: 'string', next: '@pop' }], [/.*$/, 'variable.source'] ], - codeblockgh: [ - [/```\s*$/, { token: 'variable.source', next: '@pop', nextEmbedded: '@pop' }], - [/[^`]+/, 'variable.source'] - ], regexrange: [ [/-/, 'regexp.escape.control'], [/\^/, 'regexp.invalid'],