0.2.1 • Published 1 year ago

hexo-theme-m v0.2.1

Weekly downloads
-
License
WTFPL
Repository
github
Last release
1 year ago

Hexo Theme M

Yet Another Material Theme for Hexo.

Usage

Install

via NPM (stable)

use the package manager update command, such as npm update or pnpm up

npm i hexo-theme-m # npm
# pnpm add hexo-theme-m # pnpm
via GitHub (latest)

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

Enable

This theme is only compatible with PrismJS, please make sure to disable HighlightJS.

Modify the theme field to enable the theme.

_config.yml
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

License

Licensed under the WTFPL, See the COPYING file for more details.

0.2.1

1 year ago

0.2.0

2 years ago

0.1.0

2 years ago