Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code formatting not working #41

Open
timkicker opened this issue May 18, 2023 · 4 comments
Open

Code formatting not working #41

timkicker opened this issue May 18, 2023 · 4 comments

Comments

@timkicker
Copy link

I've noticed that the code formatting has stopped working.

Demo-website:

image

My instance:

image

Hexo Version

image

@jinzhongjia
Copy link
Contributor

jinzhongjia commented May 18, 2023

I didn't know why? the code highlighting bases on prism
In my blog, it works well
you can see here

@timkicker
Copy link
Author

timkicker commented May 18, 2023

It seems like the error only occurs if you host hexo locally on your pc. It also seems to work on my github pages instance.

@jinzhongjia
Copy link
Contributor

Prism and other css import methods are the same, you can open the network option in the browser's developer tools locally to view errors in resource requests

@MyPrototypeWhat
Copy link

MyPrototypeWhat commented Jun 7, 2024

image

Doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants