Skip to content

Commit 445795c

Browse files
committed
removed if statement from blockPlugin
1 parent a5f119f commit 445795c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/lib/plugin/blockPlugin.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ export default function blockPlugin(md, name, options) {
1414
}
1515

1616
function renderDefault(tokens, idx, _options, env, self) {
17-
// add a class to the opening tag
18-
if (tokens[idx].nesting === 1) {
19-
tokens[idx].attrPush(['class', name]);
20-
}
21-
2217
return self.renderToken(tokens, idx, _options, env, self);
2318
}
2419

0 commit comments

Comments
 (0)