Skip to content

Commit 6014627

Browse files
authored
Update codeit-autolinker.js
1 parent ea843de commit 6014627

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/plugins/codeit-autolinker.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313

1414
Prism.plugins.autolinker = {
1515
processGrammar: function (grammar) {
16-
// abort if grammar has already been processed
17-
if (!grammar || grammar['url-link']) {
18-
return;
19-
}
2016
Prism.languages.DFS(grammar, function (key, def, type) {
2117
if (candidates.indexOf(type) > -1 && !Array.isArray(def)) {
2218
if (!def.pattern) {
@@ -45,7 +41,6 @@
4541
};
4642

4743
Prism.hooks.add('before-tokenize', function (env) {
48-
//if (env.language === 'markdown') return;
4944
Prism.plugins.autolinker.processGrammar(env.grammar);
5045
});
5146

0 commit comments

Comments
 (0)