We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 481b7b7 commit 88ba155Copy full SHA for 88ba155
lib/plugins/codeit-autolinker.js
@@ -58,9 +58,11 @@
58
59
Prism.hooks.add('wrap', function (env) {
60
61
- //if (env.language === 'markdown') return;
+ // disabled for markdown because regex dosen't cover all edge cases
62
+ if (env.language === 'markdown') return;
63
- /*if (env.language === 'markdown' &&
64
+ /*
65
+ if (env.language === 'markdown' &&
66
env.type === 'url-reference') {
67
68
let matches = env.content.match(url);
@@ -73,7 +75,8 @@
73
75
74
76
}
77
- }*/
78
+ }
79
+ */
80
81
if (/-link$/.test(env.type)) {
82
env.tag = 'a';
0 commit comments