hexo-prism-plugin
hexo-prism-plugin copied to clipboard
How to add a theme
I want to add a style sheet, I new a css file named "prism-sub-dark.css" and change some colors, and then I changed "_config.yml" like below:
prism_plugin: mode: 'preprocess' # realtime/preprocess theme: 'sub-dark' line_number: false
but it didn't works, if I need change another settings? Thank you.
我在config里面配置了markdown主题样式,但是显示不出来。 config的配置是没有问题的,静态页面用的是```+``` 的形式。
Maybe this is a too late reply. You can use yarn or npm add a package named 'prism-themes'.It has many themes can be used in this plugin.And you can also make your own customized theme with its guide.
@gadfly3173 It's been solved. It's really too late reply😹