Update readme formatting

This commit is contained in:
weyusi 2018-10-25 20:44:33 +10:30
parent 84f7a911d3
commit 0296c15fda
3 changed files with 14 additions and 16 deletions

View File

@ -33,8 +33,8 @@ neat_html:
exclude:
```
- **enable** - Enable the plugin. Defaults to `true`.
- **logger** - Print log switch. Defaults to `true`.
- **exclude**: Exclude files
- **logger** - Verbose output. Defaults to `false`.
- **exclude** - Exclude files
**Note:** For more options, see '[HTMLMinifier](https://github.com/kangax/html-minifier)'
----------
@ -46,26 +46,24 @@ neat_css:
- '*.min.css'
```
- **enable** - Enable the plugin. Defaults to `true`.
- **logger** - Print log switch. Defaults to `true`.
- **exclude**: Exclude files
- **logger** - Verbose output. Defaults to `false`.
- **exclude** - Exclude files
----------
``` yaml
neat_js:
enable: true
mangle: true
output:
compress:
exclude:
- '*.min.js'
```
- **enable** - Enable the plugin. Defaults to `true`.
- **mangle**: Mangle file names
- **logger** - Print log switch. Defaults to `true`.
- **output**: Output options
- **compress**: Compress options
- **exclude**: Exclude files
- **mangle** - Mangle file names. Defaults to `true`.
- **logger** - Verbose output. Defaults to `false`.
- **output** - Output options
- **compress** - Compress options
- **exclude** - Exclude files
**Note:** For more options, see '[UglifyJS](https://github.com/mishoo/UglifyJS2)'
----------
@ -75,7 +73,7 @@ neat_gzip:
enable: true
```
- **enable** - Enable the plugin. Defaults to `true`.
- **logger** - Print log switch. Defaults to `true`.
- **logger** - Verbose output. Defaults to `false`.
----------
@ -84,7 +82,7 @@ neat_brotli:
enable: true
```
- **enable** - Enable the plugin. Defaults to `true`.
- **logger** - Print log switch. Defaults to `true`.
- **logger** - Verbose output. Defaults to `false`.
## Credits
All credits go to the following work:

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "hexo-yam",
"version": "1.0.0",
"version": "1.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "hexo-yam",
"description": "Yet Another Minifier. Minify and compress html, js and css",
"version": "1.0.0",
"version": "1.0.1",
"readme": "README.md",
"main": "index.js",
"directories": {