Update documentation for extra_liners option
This commit is contained in:
parent
7c2ca2d647
commit
3892e2a9d7
|
@ -916,6 +916,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)
|
||||
|
||||
**Namespace**: `java`
|
||||
|
@ -4856,6 +4886,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)
|
||||
|
||||
**Namespace**: `js`
|
||||
|
|
Loading…
Reference in New Issue