From 3391a6cae1a2e3146d1562084907e378fc3d5d5f Mon Sep 17 00:00:00 2001 From: nin-jin Date: Thu, 5 Dec 2024 14:59:43 +0300 Subject: [PATCH] Update md.ts --- syntax2/md/md.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax2/md/md.ts b/syntax2/md/md.ts index e57127c389..4d142bd950 100644 --- a/syntax2/md/md.ts +++ b/syntax2/md/md.ts @@ -33,7 +33,7 @@ namespace $ { 'code-docs' : /\/\/\/.*?$/ , 'code-comment-block' : /(?:\/\*[^]*?\*\/|\/\+[^]*?\+\/|)/ , 'code-link' : /(?:\w+:\/\/|#)\S+?(?=\s|\\\\|""|$)/ , - 'code-comment-inline' : /\/\/.*?(?:$|\/\/)|- \\.*|#!? .*/ , + 'code-comment-inline' : /\/\/.*?(?:$|\/\/)|- \\(?!\\).*|#!? .*/ , 'code-string' : /(?:".*?"|'.*?'|`.*?`| ?\\\\.+?\\\\|\/.+?\/[dygimsu]*(?!\p{Letter})|[ \t]*\\[^\n]*)/u , 'code-number' : /[+-]?(?:\d*\.)?\d+\w*/ , 'code-call' : /\.?\w+ *(?=\()/ ,