Does emacs offer hide show for html mode
问题 Does emacs have a hide-show code fold-ability for html? I have it when I'm using org mode, but can't seem to find it on the nXML/html side. 回答1: I wrote this for mhtml-mode and it works pretty well, it can fold HTML by tag as well as the embedded CSS and JS. Simply add it to your emacs config file and you'll be set to go. ;; When called this automatically detects the submode at the current location. ;; It will then either forward to end of tag(HTML) or end of code block(JS/CSS). ;; This will