adisaktijrs / hexo-theme-minima

A lightweight dark/light theme for Hexo.js
https://adisaktijrs.github.io/minima
MIT License
220 stars 51 forks source link

Code formatting not working #41

Open timkicker opened 1 year ago

timkicker commented 1 year ago

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

Demo-website:

image

My instance:

image

Hexo Version

image

jinzhongjia commented 1 year ago

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

timkicker commented 1 year ago

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 commented 1 year ago

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 commented 1 month ago
image

Doc