format - Sublime Text 2 Package for ejs formatting -



format - Sublime Text 2 Package for ejs formatting -

i looking bundle functionality auto format ejs files. have installed htmlprettify. possible add together ejs html format format html code? sufficient purpose.

add .jsbeautifyrc file allowed_file_extensions "ejs" :

{ "html": { "allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg", "ejs"], "brace_style": "collapse", // "expand", "end-expand", "expand-strict" "indent_char": " ", "indent_handlebars": false, // e.g. {{#foo}}, {{/foo}} "indent_inner_html": false, "indent_scripts": "keep", // "separate", "normal" "indent_size": 4, "max_preserve_newlines": 10, "preserve_newlines": true, "unformatted": ["a", "sub", "sup", "b", "i", "u", "pre"], "wrap_line_length": 0 }, ...

format sublimetext2 ejs

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -