Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Celso Miranda committed Mar 31, 2015
1 parent b0332a4 commit 81350b1
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,26 @@ $ npm i hexo-renderer-yasr --save
Place the following code inside your `_config.yml`.

``` yaml
# YASR - Hexo Renderer Configuration
# YASR Configuration
## Docs: https://github.com/celsomiranda/hexo-renderer-yasr
yasr:
compress: false
sourcemaps:
axis: true # Enables Axis (Recommends Nib)
compress: false # Disables Compression
jeet: true # Enables Jeet
nib: true # Enables Nib
rupture: true # Enables Rupture
typographic: true # Enables Typographic
autoprefixer: # Autoprefixer-stylus configuration
browsers:
- 'last 2 version'
- '> 5%'
sourcemaps: # Sourcemaps configuration
comment: true
inline: true
sourceRoot: ''
basePath: .
autoprefixer:
browsers:
- last 2 version
basePath: 'css/'
```

- **Stylus**:
- **compress** - Compress generated CSS (default: `false`)


- **Sourcemaps**
- **comment** - Adds a comment with the `sourceMappingURL` to the generated CSS (default: `true`)
- **inline** - Inlines the sourcemap with full source text in base64 format (default: `false`)
Expand Down

0 comments on commit 81350b1

Please sign in to comment.