How can I highlight unmatched HTML tags in Emacs?
问题 I'd really like to catch unbalanced HTML tags as I edit HTML snippets inside Emacs. For example, JSFiddle offers this: I've found that there's also a wrapper for weblint but that only support HTML 4. flycheck support HTML checking using tidy, but that assumes the current buffer is a complete HTML page. I often edit templates which are included in other templates, so my buffer rarely has a <html> or a <head> in it. How can I highlight unbalanced HTML tags, without writing full HTML documents?