9
votes
3answers
12k views

Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?

For example, something to change: <section><article><h1></h1><p></p></article></section> to: <section> <article> ...
3
votes
2answers
387 views

Change <li> autoindent options in VIM

By default Vim seems to not want to indent the contents inside of <li> tags, though it autoindents properly for most other HTML tags. For example, if I start with this code: <ul> ...