Skip to content

Commit c51b565

Browse files
committed
Update md2html.js
1 parent 3a70513 commit c51b565

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/md2html/md2html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const md = require('markdown-it')({
4242
} catch (__) { }
4343
}
4444

45-
return '<pre class="highlight '+lang+'"><code>' + md.utils.escapeHtml(str) + '</code></pre>';
45+
return '<pre class="highlight '+lang+'" tabindex="0"><code>' + md.utils.escapeHtml(str) + '</code></pre>';
4646
}
4747
});
4848

0 commit comments

Comments
 (0)