Merge branch 'master' of github.com:Glavin001/atom-beautify
This commit is contained in:
commit
8854104f75
|
@ -940,6 +940,36 @@ End output with newline (Supported by JS Beautify)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### [HTML - Extra liners](#html---extra-liners)
|
||||||
|
|
||||||
|
**Namespace**: `html`
|
||||||
|
|
||||||
|
**Key**: `extra_liners`
|
||||||
|
|
||||||
|
**Default**: `head,body,/html`
|
||||||
|
|
||||||
|
**Type**: `array`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`JS Beautify`](#js-beautify)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
List of tags (defaults to [head,body,/html] that should have an extra newline before them. (Supported by JS Beautify)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"html": {
|
||||||
|
"extra_liners": [
|
||||||
|
"head",
|
||||||
|
"body",
|
||||||
|
"/html"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
#### [Java - Config Path](#java---config-path)
|
#### [Java - Config Path](#java---config-path)
|
||||||
|
|
||||||
**Namespace**: `java`
|
**Namespace**: `java`
|
||||||
|
@ -4880,6 +4910,36 @@ End output with newline (Supported by JS Beautify)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### [HTML - Extra liners](#html---extra-liners)
|
||||||
|
|
||||||
|
**Namespace**: `html`
|
||||||
|
|
||||||
|
**Key**: `extra_liners`
|
||||||
|
|
||||||
|
**Default**: `head,body,/html`
|
||||||
|
|
||||||
|
**Type**: `array`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`JS Beautify`](#js-beautify)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
List of tags (defaults to [head,body,/html] that should have an extra newline before them. (Supported by JS Beautify)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"html": {
|
||||||
|
"extra_liners": [
|
||||||
|
"head",
|
||||||
|
"body",
|
||||||
|
"/html"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
#### [JavaScript - Indent size](#javascript---indent-size)
|
#### [JavaScript - Indent size](#javascript---indent-size)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
|
|
@ -82,5 +82,11 @@ module.exports = {
|
||||||
type: 'boolean'
|
type: 'boolean'
|
||||||
default: false
|
default: false
|
||||||
description: "End output with newline"
|
description: "End output with newline"
|
||||||
|
extra_liners:
|
||||||
|
type: 'array'
|
||||||
|
default: ['head', 'body', '/html']
|
||||||
|
items:
|
||||||
|
type: 'string'
|
||||||
|
description: "List of tags (defaults to [head,body,/html] that should have an extra newline before them."
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue