hexo-prism-plugin icon indicating copy to clipboard operation
hexo-prism-plugin copied to clipboard

Something wrong when code rendered by the plugin

Open zengchang233 opened this issue 5 years ago • 2 comments

My plugin config: image

The code render on my blog: image

Does anybody know what wrong it is?

zengchang233 avatar May 02 '19 11:05 zengchang233

I got a same issue. It doesn't work even I've changed mode in config to "realtime". all that code type is string doesn't wrap any html tag like down below.

<code class="language-language-js">{
    constructor: ƒ (),
    __proto__: Object
}
</code>

@ele828 Could check this issue?

cresumerjang avatar Jun 19 '19 04:06 cresumerjang

u can add "hexo-inject" in package.json in dependencies, you can see hexo-prism-plus for Installation note

Zhou-Bill avatar Jun 18 '20 03:06 Zhou-Bill