mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
17 lines
1.2 KiB
Plaintext
17 lines
1.2 KiB
Plaintext
|
{
|
||
|
"html": {
|
||
|
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg"],
|
||
|
"brace_style": "collapse", // [collapse|expand|end-expand|none] Put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line, or attempt to keep them where they are
|
||
|
"end_with_newline": false, // End output with newline
|
||
|
"indent_char": " ", // Indentation character
|
||
|
"indent_handlebars": false, // e.g. {{#foo}}, {{/foo}}
|
||
|
"indent_inner_html": false, // Indent <head> and <body> sections
|
||
|
"indent_scripts": "keep", // [keep|separate|normal]
|
||
|
"indent_size": 4, // Indentation size
|
||
|
"max_preserve_newlines": 0, // Maximum number of line breaks to be preserved in one chunk (0 disables)
|
||
|
"preserve_newlines": true, // Whether existing line breaks before elements should be preserved (only works before elements, not inside tags or for text)
|
||
|
"unformatted": ["a", "span", "img", "code", "pre", "sub", "sup", "em", "strong", "b", "i", "u", "strike", "big", "small", "pre", "h1", "h2", "h3", "h4", "h5", "h6"], // List of tags that should not be reformatted
|
||
|
"wrap_line_length": 0 // Lines should wrap at next opportunity after this number of characters (0 disables)
|
||
|
}
|
||
|
}
|