good formatters for html intellij code example Example 1: format code intellij // Mac CMD + Option + L // Windows Ctrl + Alt + L Example 2: format code intellij Ctrl + Alt + L