• I’ve been looking for a plugin that allows auto-formatting of HTML code to make it more easy to read (WordPress’ auto-formatter is terrible), but have had trouble finding a good one that’s compatible. I currently use Eclipse or NetBeans or DreamWeaver to edit code, but their formatters are a little ganky as well.

    Here’s basically what I need:

    • Tab intentation for nested tags.
    • Duplicate/redundant whitespace and newline remover – meaning no more than 1 space (after indent) or 2 newlines in a row.

    Nice-to-haves:

    • Syntax highlighting.
    • Option to set indentations as tabs or spaces, and number of spaces per indent.
    • Ability to not let WordPress molest the HTML.

    Any suggestions? I could try building my own plugin, but I’m not sure how long it would take.

  • The topic ‘HTML code indentation, whitespace/newlines, and syntax highlighter?’ is closed to new replies.