hexojs / hexo

A fast, simple & powerful blog framework, powered by Node.js.
https://hexo.io
MIT License
39.28k stars 4.83k forks source link

v7.0.0 Can not change highlight to prismjs #5351

Closed g-mero closed 10 months ago

g-mero commented 10 months ago

Check List

Expected behavior

I want to use prismjs highlight my code. But it always use highlightjs, even I already set highlightjs.enable to false in _config.yml

Actual behavior

This issue only found on v7.0.0, work fine on old version.

image image

How to reproduce?

set highlightjs to false, rebuilt your proj

Is the problem still there under Safe mode?

no

Your Node.js & npm version

No response

Your Hexo and Plugin version

No response

Your package.json

No response

Your site's _config.yml (Optional)

No response

Others

No response

D-Sketon commented 10 months ago

also see https://github.com/hexojs/hexo/issues/5283

noraj commented 10 months ago

also see https://github.com/hexojs/hexo/releases/tag/v7.0.0

D-Sketon commented 10 months ago

We have updated the site, please see syntax-highlight for more information.