mirror of
https://github.com/amehime/hexo-renderer-multi-markdown-it.git
synced 2026-04-05 13:09:04 +08:00
highlight
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user