Format a small list
Du skriver inn
- Handling
- format
- Kilde
- <div><p>Hello <b>world</b></p><ul><li>One</li><li>Two</li></ul></div>
Du får
- Verdi
- <html><head></head><body><div><p>Hello world</p><ul><li>One</li><li>Two</li></ul></div></body></html>
Each nested tag moves to its own indented line. The closing bracket sits at the start of the next line, which looks odd but keeps the spacing between tags exactly as typed, because the formatter treats whitespace as meaningful.
Kjørt med verktøyets egen kode.