From 823975003eeff911f03ab7b7f5c98afb9e16f1bc Mon Sep 17 00:00:00 2001 From: crater44 Date: Sun, 15 Oct 2023 10:43:59 +0200 Subject: [PATCH] add (markdown) emphasis escaping --- src/languages/markdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/languages/markdown.js b/src/languages/markdown.js index 7d5a15062f..48f7e087f9 100644 --- a/src/languages/markdown.js +++ b/src/languages/markdown.js @@ -152,11 +152,11 @@ export default function(hljs) { contains: [], // defined later variants: [ { - begin: /\*(?![*\s])/, + begin: /(?