This commit is contained in:
purocean
2024-07-23 15:24:03 +08:00
parent cea2984ad6
commit 7542dd90c1
+1
View File
@@ -235,6 +235,7 @@ export default {
ctx.editor.tapMarkdownMonarchLanguage(mdLanguage => {
mdLanguage.tokenizer.root.unshift(
[/^\s*[+\-*] \[[ xX]\]\s/, 'keyword'],
[/==\S.*\S?==/, 'keyword'],
[/(\[\[)([^[\]]+)(\]\])/, ['keyword.predefined', 'string', 'keyword.predefined']],
[/~\S[^~]*\S?~/, 'string'],