hexo-renderer-rider

Rider renderer plugin for Hexo.

Usage no npm install needed!

<script type="module">
  import hexoRendererRider from 'https://cdn.skypack.dev/hexo-renderer-rider';
</script>

README

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