dev: code styling
[git-cola.git] / contrib / svg.tidy
blob942c554dc3eea9764ff6e2d137a2635f57caaf39
1 // Config file for [HTML Tidy](html-tidy.org) to properly format SVG markup
2 // The main goal is to split elements attributes to separate lines, useful in comparing in diffs
3 // Documentation: http://api.html-tidy.org/tidy/tidylib_api_next/tidy_config.html
4 // Credit goes to [blalasaadri](https://stackoverflow.com/users/2382246/blalasaadri), who asks the question and find the solution themself.
5 // https://stackoverflow.com/questions/25447006/adding-line-breaks-between-attributes
6 input-xml: yes
7 output-xml: yes
8 add-xml-decl: yes
10 indent: auto
11 indent-attributes: yes
12 indent-spaces: 4
14 hide-comments: yes