We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bc7d9a commit 908e68fCopy full SHA for 908e68f
after/ftplugin/markdown.vim
@@ -7,13 +7,13 @@ import autoload '../../lib/utils.vim'
7
8
links.GenerateLinksDict()
9
10
-var code_regex = '\v`@<!``@!'
+var code_regex = '\v(\\|`)@<!``@!'
11
# var italic_regex = '\v(\\|\*)@<!\*\*@!'
12
# The following picks standalone * and the last * of \**
13
# It excludes escaped * (i.e. \*\*\*, and sequences like ****)
14
var italic_regex = '\v((\\|\*)@<!|(\\\*)@<=)\*\*@!'
15
-var bold_regex = '\v\*@<!\*\*\*@!'
16
-var strikethrough_regex = '\v\~@<!\~\~\~@!'
+var bold_regex = '\v(\\|\*)@<!\*\*\*@!'
+var strikethrough_regex = '\v(\\|\~)@<!\~\~\~@!'
17
18
var text_style_dict = {'`': code_regex,
19
'*': italic_regex,
0 commit comments