4 ms·
I'm hoping that nXhtml mode and its support for Multiple Major Modes might do the trick here http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html http://ourcomme
by evangineer 16y ago
I'm hoping that nXhtml mode and its support for Multiple Major Modes might do the trick here http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html
- whit537 16y agoGood find. "Another important feature is the ability to mix several languages in one buffer and get the correct syntax highlighting and indentation for each of them." It looks like they're inferring mode blocks based on things like "<?php>". http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html#php http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html#php What is wanted for Aspen simplates is to use Python for the first two pages, and use the file extension to determine the mode/highlighting for the third page. The first two pages are optional.