hexojs / hexo

A fast, simple & powerful blog framework, powered by Node.js.

Home Page:https://hexo.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v7.0.0 Can not change highlight to prismjs

g-mero opened this issue · comments

Check List

  • I have already read Docs page & Troubleshooting page.
  • I have already searched existing issues and they are not help to me.
  • I examined error or warning messages and it's difficult to solve.
  • I am using the latest version of Hexo. (run hexo version to check)
  • My Node.js is matched the required version.

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

also see #5283

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