highlight

This commit is contained in:
amehime
2020-08-19 01:52:50 +08:00
parent 349d1dbfbb
commit 4092fae8c4
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ module.exports = function (md, options) {
return result;
} else {
if(lang == 'info') {
return `<pre><code>${pangu.spacing(text)}</code></pre>`
return `<pre class="info"><code>${pangu.spacing(text)}</code></pre>`
} else {
return defaultRenderer(tokens, idx, options, env, self)
}

View File

@@ -1,6 +1,6 @@
{
"name": "hexo-renderer-multi-markdown-it",
"version": "0.0.7",
"version": "0.0.8",
"description": "A Markdown parser for Hexo and auto Minify HTML, CSS, JS.",
"main": "index.js",
"repository": "https://github.com/amehime/hexo-renderer-multi-markdown-it.git",