mirror of
https://github.com/zhaoolee/ChineseBQB.git
synced 2026-01-13 06:14:57 +08:00
hexo-renderer-stylus
Add support for Stylus with nib.
Install
$ npm install hexo-renderer-stylus --save
- Hexo 3: >= 0.2
- Hexo 2: 0.1.x
Options
You can configure this plugin in _config.yml.
stylus:
compress: false
sourcemaps:
comment: true
inline: true
sourceRoot: ''
basePath: .
-
Stylus:
- compress - Compress generated CSS (default:
false)
- compress - Compress generated CSS (default:
-
Sourcemaps
- comment - Adds a comment with the
sourceMappingURLto the generated CSS (default:true) - inline - Inlines the sourcemap with full source text in base64 format (default:
false) - sourceRoot -
sourceRootproperty of the generated sourcemap - basePath - Base path from which sourcemap and all sources are relative (default:
.)
- comment - Adds a comment with the