Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kwaa/hexo-theme-m
Yet Another Material Theme for Hexo. (MF2 Update)
https://github.com/kwaa/hexo-theme-m
hexo hexo-theme hexo-theme-m material-design mdui
Last synced: 2 months ago
JSON representation
Yet Another Material Theme for Hexo. (MF2 Update)
- Host: GitHub
- URL: https://github.com/kwaa/hexo-theme-m
- Owner: kwaa
- License: wtfpl
- Created: 2020-08-02T14:44:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-26T06:57:56.000Z (almost 2 years ago)
- Last Synced: 2024-10-08T11:05:55.083Z (3 months ago)
- Topics: hexo, hexo-theme, hexo-theme-m, material-design, mdui
- Language: EJS
- Homepage: https://kwaa.github.io/hexo-theme-m/
- Size: 1.87 MB
- Stars: 10
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# 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`
```bash
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.
```bash
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
```diff
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](http://www.wtfpl.net), See the [COPYING](COPYING) file for more details.