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 f21b93c commit 04f4870Copy full SHA for 04f4870
src/index.js
@@ -131,7 +131,7 @@ export default async ({ markdownAST }, options = {}) => {
131
const $ = cheerio.load(content.div);
132
const file = query.file.replace(/[^a-zA-Z0-9_]+/, "-");
133
query.highlights.forEach(line => {
134
- $(`#file-${file}-LC${line}`).addClass("highlighted");
+ $(`#file-${file.toLowerCase()}-LC${line}`).addClass("highlighted");
135
});
136
137
html = $.html();
0 commit comments