I found that the default theme of Hexo is not very appealing, so I wanted to find a bright one and tried using a plugin.
The plugin can be found here. Installation is quite simple; just run npm i -S hexo-prism-plugin
. Then, open the blog’s configuration file _config.yml
, disable the built-in highlighting, and add the settings for this plugin.
1 | highlight: |
After that, update as usual. This plugin supports multiple highlighting modes and custom CSS. The supported languages are listed on the above link.
```