We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c285a2c commit e8f585eCopy full SHA for e8f585e
1 file changed
mode/markdown/markdown.js
@@ -90,7 +90,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
90
, setextHeaderRE = /^ *(?:\={1,}|-{1,})\s*$/
91
, textRE = /^[^#!\[\]*_\\<>` "'(~:]+/
92
, fencedCodeRE = /^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/
93
- , linkDefRE = /^\s*\[[^\]]+?\]:\s*\S+(\s*\S*\s*)?$/ // naive link-definition
+ , linkDefRE = /^\s*\[[^\]]+?\]:.*$/ // naive link-definition
94
, punctuation = /[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~—]/
95
, expandedTab = " " // CommonMark specifies tab as 4 spaces
96
0 commit comments