Yet Another Material Theme for Hexo.
use the package manager update command, such as
npm update
orpnpm up
npm i hexo-theme-m # npm
# pnpm add hexo-theme-m # pnpm
rm -r themes/m
and run the following command again to update it.
npx degit kwaa/hexo-theme-m/theme themes/m # npx
# pnpm dlx degit kwaa/hexo-theme-m/theme themes/m # pnpm dlx
This theme is only compatible with PrismJS, please make sure to disable HighlightJS.
Modify the theme
field to enable the theme.
highlight:
- enable: true
+ enable: false
line_number: true
auto_detect: false
tab_replace: ''
wrap: true
hljs: false
prismjs:
- enable: false
+ enable: true
preprocess: true
line_number: true
tab_replace: ''
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
- theme: landscape
+ theme: m
Licensed under the WTFPL, See the COPYING file for more details.