Skip to content

firede/hexo-renderer-rider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rider renderer for Hexo

Add support for Stylus, Rider and Autoprefixer.

Rider is a CSS library to focus on Mobile Web, build on top of Stylus.

Install

$ 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:

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

License

MIT © Firede

About

Rider renderer for Hexo

Resources

Stars

Watchers

Forks

Packages

No packages published