Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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.