fis3-postprocessor-html
v3.0.1
Published
a html formatter of fis3 based on js-beautify
Downloads
11
Maintainers
Readme
fis3-postprocessor-html
a html formatter of fis3 based on js-beautify
install
npm install --global fis3-postprocessor-html
default options
{
"indent_size": 2,
"indent_char": " ",
"eol": "\n",
"indent_level": 0,
"indent_with_tabs": false,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"jslint_happy": false,
"space_after_anon_function": false,
"brace_style": "collapse",
"keep_array_indentation": false,
"keep_function_indentation": false,
"space_before_conditional": true,
"break_chained_methods": false,
"eval_code": false,
"unescape_strings": false,
"wrap_line_length": 0,
"wrap_attributes": "auto",
"wrap_attributes_indent_size": 4,
"end_with_newline": false
}
NOTICE: this might change in future
links
fis3: http://fis.baidu.com/
js-beautify: https://github.com/beautify-web/js-beautify
license
MIT © fisker Cheung