We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dff8e9c commit f5f1162Copy full SHA for f5f1162
2 files changed
lib/processor.js
@@ -80,7 +80,7 @@ function preprocess(text) {
80
var comments = [];
81
var index, previousNode, comment;
82
83
- if (node.lang && SUPPORTED_SYNTAXES.indexOf(node.lang.toLowerCase()) >= 0) {
+ if (node.lang && SUPPORTED_SYNTAXES.indexOf(node.lang.split(" ")[0].toLowerCase()) >= 0) {
84
index = parent.children.indexOf(node) - 1;
85
previousNode = parent.children[index];
86
while (previousNode && previousNode.type === "html") {
package.json
@@ -1,5 +1,5 @@
1
{
2
- "name": "eslint-plugin-markdown",
+ "name": "eslint-plugin-markdown-runkit",
3
"version": "1.0.0-beta.8",
4
"description": "An ESLint plugin to lint JavaScript in Markdown code fences.",
5
"license": "MIT",
0 commit comments