Skip to content

Commit 6e4b9d4

Browse files
committed
bump 0.2.1
1 parent 824e64a commit 6e4b9d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/docsify.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2175,7 +2175,7 @@ renderer.heading = function (text, level) {
21752175
renderer.code = function (code, lang) {
21762176
var hl = prism.highlight(code, prism.languages[lang] || prism.languages.markup);
21772177

2178-
return ("<pre><code class=\"lang-" + lang + "\" data-lang=\"" + lang + "\">" + hl + "</code></pre>")
2178+
return ("<pre data-lang=\"" + lang + "\"><code class=\"lang-" + lang + "\">" + hl + "</code></pre>")
21792179
};
21802180
marked.setOptions({ renderer: renderer });
21812181

0 commit comments

Comments
 (0)