Update html.coffee with js-beautify v1.8.1

This commit is contained in:
Liam Newman 2018-08-31 21:47:11 -07:00
parent c1990aadc9
commit 4a3c093199
6 changed files with 2180 additions and 83 deletions

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,8 @@
{% endfor %} {% endfor %}
</ul> </ul>
<h1>My Webpage</h1> {{ a_variable }} <h1>My Webpage</h1>
{{ a_variable }}
</body> </body>
</html> </html>

48
package-lock.json generated
View File

@ -2344,36 +2344,16 @@
"integrity": "sha1-IoveaYoMYUMdwmMKahVPFYkNIxc=" "integrity": "sha1-IoveaYoMYUMdwmMKahVPFYkNIxc="
}, },
"js-beautify": { "js-beautify": {
"version": "1.7.5", "version": "1.8.1",
"resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.7.5.tgz", "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.8.1.tgz",
"integrity": "sha512-9OhfAqGOrD7hoQBLJMTA+BKuKmoEtTJXzZ7WDF/9gvjtey1koVLuZqIY6c51aPDjbNdNtIXAkiWKVhziawE9Og==", "integrity": "sha512-e6Ij+fcwlnhxwfEWH148AV240ocW6z6LTZtWc9V7QEOUMu7pe2EINYbO1sM4GPHFwTVWMUWBCXGgsJGRpaQPLQ==",
"requires": { "requires": {
"config-chain": "~1.1.5", "config-chain": "~1.1.5",
"editorconfig": "^0.13.2", "editorconfig": "^0.15.0",
"mkdirp": "~0.5.0", "mkdirp": "~0.5.0",
"nopt": "~3.0.1" "nopt": "~4.0.1"
}, },
"dependencies": { "dependencies": {
"editorconfig": {
"version": "0.13.3",
"resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.13.3.tgz",
"integrity": "sha512-WkjsUNVCu+ITKDj73QDvi0trvpdDWdkDyHybDGSXPfekLCqwmpD7CP7iPbvBgosNuLcI96XTDwNa75JyFl7tEQ==",
"requires": {
"bluebird": "^3.0.5",
"commander": "^2.9.0",
"lru-cache": "^3.2.0",
"semver": "^5.1.0",
"sigmund": "^1.0.1"
}
},
"lru-cache": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-3.2.0.tgz",
"integrity": "sha1-cXibO39Tmb7IVl3aOKow0qCX7+4=",
"requires": {
"pseudomap": "^1.0.1"
}
},
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
@ -2895,11 +2875,12 @@
} }
}, },
"nopt": { "nopt": {
"version": "3.0.6", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz",
"integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=",
"requires": { "requires": {
"abbrev": "1" "abbrev": "1",
"osenv": "^0.1.4"
} }
}, },
"npm-prefix": { "npm-prefix": {
@ -3011,6 +2992,15 @@
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
"integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ="
}, },
"osenv": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
"integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
"requires": {
"os-homedir": "^1.0.0",
"os-tmpdir": "^1.0.0"
}
},
"p-finally": { "p-finally": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",

View File

@ -168,6 +168,10 @@
{ {
"name": "Kohei Hiraga", "name": "Kohei Hiraga",
"url": "https://github.com/range3" "url": "https://github.com/range3"
},
{
"name": "Liam Newman",
"url": "https://github.com/bitwiseman"
} }
], ],
"engines": { "engines": {
@ -191,7 +195,7 @@
"extend": "^3.0.1", "extend": "^3.0.1",
"gherkin": "^2.12.2", "gherkin": "^2.12.2",
"handlebars": "^4.0.11", "handlebars": "^4.0.11",
"js-beautify": "~1.7.5", "js-beautify": "^1.8.1",
"jscs": "^3.0.7", "jscs": "^3.0.7",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"loophole": "^1.1.0", "loophole": "^1.1.0",

View File

@ -49,8 +49,8 @@ module.exports = {
wrap_attributes: wrap_attributes:
type: 'string' type: 'string'
default: "auto" default: "auto"
enum: ["auto", "force", "force-aligned", "force-expand-multiline"] enum: ["auto", "aligned-multiple", "force", "force-aligned", "force-expand-multiline"]
description: "Wrap attributes to new lines [auto|force|force-aligned|force-expand-multiline]" description: "Wrap attributes to new lines [auto|aligned-multiple|force|force-aligned|force-expand-multiline]"
wrap_attributes_indent_size: wrap_attributes_indent_size:
type: 'integer' type: 'integer'
default: null default: null
@ -79,7 +79,27 @@ module.exports = {
] ]
items: items:
type: 'string' type: 'string'
description: "List of tags (defaults to inline) that should not be reformatted" description: "(Depracated for most scenarios) List of tags that should not be reformatted at all. NOTE: Set this to [] to get improved beautifier behavior."
inline:
type: 'array'
default: [
'a', 'abbr', 'area', 'audio', 'b', 'bdi', 'bdo', 'br', 'button', 'canvas', 'cite',
'code', 'data', 'datalist', 'del', 'dfn', 'em', 'embed', 'i', 'iframe', 'img',
'input', 'ins', 'kbd', 'keygen', 'label', 'map', 'mark', 'math', 'meter', 'noscript',
'object', 'output', 'progress', 'q', 'ruby', 's', 'samp', 'select', 'small',
'span', 'strong', 'sub', 'sup', 'svg', 'template', 'textarea', 'time', 'u', 'var',
'video', 'wbr', 'text',
'acronym', 'address', 'big', 'dt', 'ins', 'strike', 'tt'
]
items:
type: 'string'
description: "List of inline tags. Behaves similar to text content, will not wrap without whitespace."
content_unformatted:
type: 'array'
default: [ 'pre', 'textarea' ]
items:
type: 'string'
description: "List of tags whose contents should not be reformatted. Attributes will be reformatted, inner html will not."
end_with_newline: end_with_newline:
type: 'boolean' type: 'boolean'
default: false default: false

View File

@ -302,11 +302,12 @@
"default": "auto", "default": "auto",
"enum": [ "enum": [
"auto", "auto",
"aligned-multiple",
"force", "force",
"force-aligned", "force-aligned",
"force-expand-multiline" "force-expand-multiline"
], ],
"description": "Wrap attributes to new lines [auto|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)", "description": "Wrap attributes to new lines [auto|aligned-multiple|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)",
"title": "Wrap attributes", "title": "Wrap attributes",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -435,7 +436,7 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "List of tags (defaults to inline) that should not be reformatted (Supported by JS Beautify)", "description": "(Depracated for most scenarios) List of tags that should not be reformatted at all. NOTE: Set this to [] to get improved beautifier behavior. (Supported by JS Beautify)",
"title": "Unformatted", "title": "Unformatted",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -446,6 +447,104 @@
"namespace": "html" "namespace": "html"
} }
}, },
"inline": {
"type": "array",
"default": [
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"keygen",
"label",
"map",
"mark",
"math",
"meter",
"noscript",
"object",
"output",
"progress",
"q",
"ruby",
"s",
"samp",
"select",
"small",
"span",
"strong",
"sub",
"sup",
"svg",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr",
"text",
"acronym",
"address",
"big",
"dt",
"ins",
"strike",
"tt"
],
"items": {
"type": "string"
},
"description": "List of inline tags. Behaves similar to text content, will not wrap without whitespace. (Supported by JS Beautify)",
"title": "Inline",
"beautifiers": [
"JS Beautify"
],
"key": "inline",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"content_unformatted": {
"type": "array",
"default": [
"pre",
"textarea"
],
"items": {
"type": "string"
},
"description": "List of tags whose contents should not be reformatted. Attributes will be reformatted, inner html will not. (Supported by JS Beautify)",
"title": "Content unformatted",
"beautifiers": [
"JS Beautify"
],
"key": "content_unformatted",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"end_with_newline": { "end_with_newline": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
@ -1699,11 +1798,12 @@
"default": "auto", "default": "auto",
"enum": [ "enum": [
"auto", "auto",
"aligned-multiple",
"force", "force",
"force-aligned", "force-aligned",
"force-expand-multiline" "force-expand-multiline"
], ],
"description": "Wrap attributes to new lines [auto|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)", "description": "Wrap attributes to new lines [auto|aligned-multiple|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)",
"title": "Wrap attributes", "title": "Wrap attributes",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -1804,7 +1904,7 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "List of tags (defaults to inline) that should not be reformatted (Supported by JS Beautify)", "description": "(Depracated for most scenarios) List of tags that should not be reformatted at all. NOTE: Set this to [] to get improved beautifier behavior. (Supported by JS Beautify)",
"title": "Unformatted", "title": "Unformatted",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -1815,6 +1915,104 @@
"namespace": "html" "namespace": "html"
} }
}, },
"inline": {
"type": "array",
"default": [
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"keygen",
"label",
"map",
"mark",
"math",
"meter",
"noscript",
"object",
"output",
"progress",
"q",
"ruby",
"s",
"samp",
"select",
"small",
"span",
"strong",
"sub",
"sup",
"svg",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr",
"text",
"acronym",
"address",
"big",
"dt",
"ins",
"strike",
"tt"
],
"items": {
"type": "string"
},
"description": "List of inline tags. Behaves similar to text content, will not wrap without whitespace. (Supported by JS Beautify)",
"title": "Inline",
"beautifiers": [
"JS Beautify"
],
"key": "inline",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"content_unformatted": {
"type": "array",
"default": [
"pre",
"textarea"
],
"items": {
"type": "string"
},
"description": "List of tags whose contents should not be reformatted. Attributes will be reformatted, inner html will not. (Supported by JS Beautify)",
"title": "Content unformatted",
"beautifiers": [
"JS Beautify"
],
"key": "content_unformatted",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"extra_liners": { "extra_liners": {
"type": "array", "type": "array",
"default": [ "default": [
@ -2559,11 +2757,12 @@
"default": "auto", "default": "auto",
"enum": [ "enum": [
"auto", "auto",
"aligned-multiple",
"force", "force",
"force-aligned", "force-aligned",
"force-expand-multiline" "force-expand-multiline"
], ],
"description": "Wrap attributes to new lines [auto|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)", "description": "Wrap attributes to new lines [auto|aligned-multiple|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)",
"title": "Wrap attributes", "title": "Wrap attributes",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -2693,7 +2892,7 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "List of tags (defaults to inline) that should not be reformatted (Supported by JS Beautify)", "description": "(Depracated for most scenarios) List of tags that should not be reformatted at all. NOTE: Set this to [] to get improved beautifier behavior. (Supported by JS Beautify)",
"title": "Unformatted", "title": "Unformatted",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -2704,6 +2903,104 @@
"namespace": "html" "namespace": "html"
} }
}, },
"inline": {
"type": "array",
"default": [
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"keygen",
"label",
"map",
"mark",
"math",
"meter",
"noscript",
"object",
"output",
"progress",
"q",
"ruby",
"s",
"samp",
"select",
"small",
"span",
"strong",
"sub",
"sup",
"svg",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr",
"text",
"acronym",
"address",
"big",
"dt",
"ins",
"strike",
"tt"
],
"items": {
"type": "string"
},
"description": "List of inline tags. Behaves similar to text content, will not wrap without whitespace. (Supported by JS Beautify)",
"title": "Inline",
"beautifiers": [
"JS Beautify"
],
"key": "inline",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"content_unformatted": {
"type": "array",
"default": [
"pre",
"textarea"
],
"items": {
"type": "string"
},
"description": "List of tags whose contents should not be reformatted. Attributes will be reformatted, inner html will not. (Supported by JS Beautify)",
"title": "Content unformatted",
"beautifiers": [
"JS Beautify"
],
"key": "content_unformatted",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"end_with_newline": { "end_with_newline": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
@ -2934,11 +3231,12 @@
"default": "auto", "default": "auto",
"enum": [ "enum": [
"auto", "auto",
"aligned-multiple",
"force", "force",
"force-aligned", "force-aligned",
"force-expand-multiline" "force-expand-multiline"
], ],
"description": "Wrap attributes to new lines [auto|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)", "description": "Wrap attributes to new lines [auto|aligned-multiple|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)",
"title": "Wrap attributes", "title": "Wrap attributes",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -3068,7 +3366,7 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "List of tags (defaults to inline) that should not be reformatted (Supported by JS Beautify)", "description": "(Depracated for most scenarios) List of tags that should not be reformatted at all. NOTE: Set this to [] to get improved beautifier behavior. (Supported by JS Beautify)",
"title": "Unformatted", "title": "Unformatted",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -3079,6 +3377,104 @@
"namespace": "html" "namespace": "html"
} }
}, },
"inline": {
"type": "array",
"default": [
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"keygen",
"label",
"map",
"mark",
"math",
"meter",
"noscript",
"object",
"output",
"progress",
"q",
"ruby",
"s",
"samp",
"select",
"small",
"span",
"strong",
"sub",
"sup",
"svg",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr",
"text",
"acronym",
"address",
"big",
"dt",
"ins",
"strike",
"tt"
],
"items": {
"type": "string"
},
"description": "List of inline tags. Behaves similar to text content, will not wrap without whitespace. (Supported by JS Beautify)",
"title": "Inline",
"beautifiers": [
"JS Beautify"
],
"key": "inline",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"content_unformatted": {
"type": "array",
"default": [
"pre",
"textarea"
],
"items": {
"type": "string"
},
"description": "List of tags whose contents should not be reformatted. Attributes will be reformatted, inner html will not. (Supported by JS Beautify)",
"title": "Content unformatted",
"beautifiers": [
"JS Beautify"
],
"key": "content_unformatted",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"end_with_newline": { "end_with_newline": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
@ -5077,11 +5473,12 @@
"default": "auto", "default": "auto",
"enum": [ "enum": [
"auto", "auto",
"aligned-multiple",
"force", "force",
"force-aligned", "force-aligned",
"force-expand-multiline" "force-expand-multiline"
], ],
"description": "Wrap attributes to new lines [auto|force|force-aligned|force-expand-multiline] (Supported by Marko Beautifier)", "description": "Wrap attributes to new lines [auto|aligned-multiple|force|force-aligned|force-expand-multiline] (Supported by Marko Beautifier)",
"title": "Wrap attributes", "title": "Wrap attributes",
"beautifiers": [ "beautifiers": [
"Marko Beautifier" "Marko Beautifier"
@ -5210,7 +5607,7 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "List of tags (defaults to inline) that should not be reformatted (Supported by Marko Beautifier)", "description": "(Depracated for most scenarios) List of tags that should not be reformatted at all. NOTE: Set this to [] to get improved beautifier behavior. (Supported by Marko Beautifier)",
"title": "Unformatted", "title": "Unformatted",
"beautifiers": [ "beautifiers": [
"Marko Beautifier" "Marko Beautifier"
@ -5221,6 +5618,104 @@
"namespace": "html" "namespace": "html"
} }
}, },
"inline": {
"type": "array",
"default": [
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"keygen",
"label",
"map",
"mark",
"math",
"meter",
"noscript",
"object",
"output",
"progress",
"q",
"ruby",
"s",
"samp",
"select",
"small",
"span",
"strong",
"sub",
"sup",
"svg",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr",
"text",
"acronym",
"address",
"big",
"dt",
"ins",
"strike",
"tt"
],
"items": {
"type": "string"
},
"description": "List of inline tags. Behaves similar to text content, will not wrap without whitespace. (Supported by Marko Beautifier)",
"title": "Inline",
"beautifiers": [
"Marko Beautifier"
],
"key": "inline",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"content_unformatted": {
"type": "array",
"default": [
"pre",
"textarea"
],
"items": {
"type": "string"
},
"description": "List of tags whose contents should not be reformatted. Attributes will be reformatted, inner html will not. (Supported by Marko Beautifier)",
"title": "Content unformatted",
"beautifiers": [
"Marko Beautifier"
],
"key": "content_unformatted",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"end_with_newline": { "end_with_newline": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
@ -5402,11 +5897,12 @@
"default": "auto", "default": "auto",
"enum": [ "enum": [
"auto", "auto",
"aligned-multiple",
"force", "force",
"force-aligned", "force-aligned",
"force-expand-multiline" "force-expand-multiline"
], ],
"description": "Wrap attributes to new lines [auto|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)", "description": "Wrap attributes to new lines [auto|aligned-multiple|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)",
"title": "Wrap attributes", "title": "Wrap attributes",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -5534,7 +6030,7 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "List of tags (defaults to inline) that should not be reformatted (Supported by JS Beautify)", "description": "(Depracated for most scenarios) List of tags that should not be reformatted at all. NOTE: Set this to [] to get improved beautifier behavior. (Supported by JS Beautify)",
"title": "Unformatted", "title": "Unformatted",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -5545,6 +6041,103 @@
"namespace": "html" "namespace": "html"
} }
}, },
"inline": {
"type": "array",
"default": [
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"keygen",
"label",
"map",
"mark",
"math",
"meter",
"noscript",
"object",
"output",
"progress",
"q",
"ruby",
"s",
"samp",
"select",
"small",
"span",
"strong",
"sub",
"sup",
"svg",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr",
"text",
"acronym",
"address",
"big",
"dt",
"strike",
"tt"
],
"items": {
"type": "string"
},
"description": "List of inline tags. Behaves similar to text content, will not wrap without whitespace. (Supported by JS Beautify)",
"title": "Inline",
"beautifiers": [
"JS Beautify"
],
"key": "inline",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"content_unformatted": {
"type": "array",
"default": [
"pre",
"textarea"
],
"items": {
"type": "string"
},
"description": "List of tags whose contents should not be reformatted. Attributes will be reformatted, inner html will not. (Supported by JS Beautify)",
"title": "Content unformatted",
"beautifiers": [
"JS Beautify"
],
"key": "content_unformatted",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"end_with_newline": { "end_with_newline": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
@ -8435,11 +9028,12 @@
"default": "auto", "default": "auto",
"enum": [ "enum": [
"auto", "auto",
"aligned-multiple",
"force", "force",
"force-aligned", "force-aligned",
"force-expand-multiline" "force-expand-multiline"
], ],
"description": "Wrap attributes to new lines [auto|force|force-aligned|force-expand-multiline] (Supported by Vue Beautifier)", "description": "Wrap attributes to new lines [auto|aligned-multiple|force|force-aligned|force-expand-multiline] (Supported by Vue Beautifier)",
"title": "Wrap attributes", "title": "Wrap attributes",
"beautifiers": [ "beautifiers": [
"Vue Beautifier" "Vue Beautifier"
@ -8540,7 +9134,7 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "List of tags (defaults to inline) that should not be reformatted (Supported by Vue Beautifier)", "description": "(Depracated for most scenarios) List of tags that should not be reformatted at all. NOTE: Set this to [] to get improved beautifier behavior. (Supported by Vue Beautifier)",
"title": "Unformatted", "title": "Unformatted",
"beautifiers": [ "beautifiers": [
"Vue Beautifier" "Vue Beautifier"
@ -8551,6 +9145,104 @@
"namespace": "html" "namespace": "html"
} }
}, },
"inline": {
"type": "array",
"default": [
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"keygen",
"label",
"map",
"mark",
"math",
"meter",
"noscript",
"object",
"output",
"progress",
"q",
"ruby",
"s",
"samp",
"select",
"small",
"span",
"strong",
"sub",
"sup",
"svg",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr",
"text",
"acronym",
"address",
"big",
"dt",
"ins",
"strike",
"tt"
],
"items": {
"type": "string"
},
"description": "List of inline tags. Behaves similar to text content, will not wrap without whitespace. (Supported by Vue Beautifier)",
"title": "Inline",
"beautifiers": [
"Vue Beautifier"
],
"key": "inline",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"content_unformatted": {
"type": "array",
"default": [
"pre",
"textarea"
],
"items": {
"type": "string"
},
"description": "List of tags whose contents should not be reformatted. Attributes will be reformatted, inner html will not. (Supported by Vue Beautifier)",
"title": "Content unformatted",
"beautifiers": [
"Vue Beautifier"
],
"key": "content_unformatted",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"extra_liners": { "extra_liners": {
"type": "array", "type": "array",
"default": [ "default": [
@ -8889,11 +9581,12 @@
"default": "auto", "default": "auto",
"enum": [ "enum": [
"auto", "auto",
"aligned-multiple",
"force", "force",
"force-aligned", "force-aligned",
"force-expand-multiline" "force-expand-multiline"
], ],
"description": "Wrap attributes to new lines [auto|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)", "description": "Wrap attributes to new lines [auto|aligned-multiple|force|force-aligned|force-expand-multiline] (Supported by JS Beautify)",
"title": "Wrap attributes", "title": "Wrap attributes",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -9023,7 +9716,7 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "List of tags (defaults to inline) that should not be reformatted (Supported by JS Beautify)", "description": "(Depracated for most scenarios) List of tags that should not be reformatted at all. NOTE: Set this to [] to get improved beautifier behavior. (Supported by JS Beautify)",
"title": "Unformatted", "title": "Unformatted",
"beautifiers": [ "beautifiers": [
"JS Beautify" "JS Beautify"
@ -9034,6 +9727,104 @@
"namespace": "html" "namespace": "html"
} }
}, },
"inline": {
"type": "array",
"default": [
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"keygen",
"label",
"map",
"mark",
"math",
"meter",
"noscript",
"object",
"output",
"progress",
"q",
"ruby",
"s",
"samp",
"select",
"small",
"span",
"strong",
"sub",
"sup",
"svg",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr",
"text",
"acronym",
"address",
"big",
"dt",
"ins",
"strike",
"tt"
],
"items": {
"type": "string"
},
"description": "List of inline tags. Behaves similar to text content, will not wrap without whitespace. (Supported by JS Beautify)",
"title": "Inline",
"beautifiers": [
"JS Beautify"
],
"key": "inline",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"content_unformatted": {
"type": "array",
"default": [
"pre",
"textarea"
],
"items": {
"type": "string"
},
"description": "List of tags whose contents should not be reformatted. Attributes will be reformatted, inner html will not. (Supported by JS Beautify)",
"title": "Content unformatted",
"beautifiers": [
"JS Beautify"
],
"key": "content_unformatted",
"language": {
"name": "HTML",
"namespace": "html"
}
},
"end_with_newline": { "end_with_newline": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,