A worked example, rendered from real sample data. Sign in to run the tool on your own input.
indent=space size=2 eol=lfroot = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[Makefile]
indent_style = tab

Tab/space indent, EOL, charset rules — one config for every editor. Part of the DevTools Surf developer suite. Browse more tools in the Generators collection.