Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/firede/hexo-renderer-rider
Rider renderer for Hexo
https://github.com/firede/hexo-renderer-rider
Last synced: 5 days ago
JSON representation
Rider renderer for Hexo
- Host: GitHub
- URL: https://github.com/firede/hexo-renderer-rider
- Owner: firede
- Created: 2014-09-24T08:00:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-21T13:42:23.000Z (over 8 years ago)
- Last Synced: 2024-12-11T11:19:34.176Z (about 1 month ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Rider](https://github.com/ecomfe/rider) renderer for [Hexo](https://github.com/hexojs/hexo)
Add support for [Stylus](https://github.com/LearnBoost/stylus), [Rider](https://github.com/ecomfe/rider) and [Autoprefixer](https://github.com/ai/autoprefixer).
Rider is a CSS library to focus on Mobile Web, build on top of Stylus.
## Install
```sh
$ npm install hexo-renderer-rider --save
```* Hexo 3: >= 0.2
* Hexo 2: 0.1.x_Notice: if `hexo-renderer-rider` does not work, maybe you need uninstall `hexo-renderer-stylus` first, they are all supported `Stylus`._
## Options
You can configure this plugin in `_config.yml`, like this:
```yaml
rider:
compress: true
sourcemaps:
comment: true
inline: true
sourceRoot: ''
basePath: .
autoprefixer:
- Android >= 2.3
- iOS >= 6
```* compress - Compress generated CSS.
* autoprefixer - Parse CSS and add vendor prefixes to rules by Can I Use. [see more options](https://github.com/postcss/autoprefixer#browsers)## License
MIT © [Firede](https://github.com/firede)