Search code examples
xmlemacselispsyntax-highlightingfont-lock

Highlight opening and closing tags xhtml in emacs just like notepad++


I really find convenient with the feature of highlighting opening and closing tag in XHTML document in Notepad++. Is there any equivalent feature in Emacs? I am using Emacs 24.3.1

enter image description here


Solution

  • I think you want the editor to show you the closing tag when you cursor over its opening mate and vice versa. One way to get that is to install smartparens and execute M-x show-smartparens-mode.