emacs-phps-mode
emacs-phps-mode copied to clipboard
HTML in PHP?
Does this package include HTML in PHP? I can see there is a mention about indentation for inline-html
.
Indentation is supported for HTML/XML/JavaScript but not syntax-coloring, is that what you mean?
Hi, sorry for the bad wording. Yes syntax highlighting, but also mhtml-mode
features.
Ok, I think ideally that it would be nice to make it work with a multi-major mode of some sort, phps-mode
could take care of the PHP areas and another mode like mhtml-mode
could handle the HTML areas. I am not interested in implementing a HTML-mode inside phps-mode
, would be better to have separation of duties, PHP can be used with anything so one would have to implement a lot of different modes inside this mode
Make sense. Are you referring to Polymode?
Mastering Emacs: Polymode: Multiple Major Modes and How to Use SQL and Python in one Buffer
Yes something like that, I tried to get it working a couple of years ago with mmm-mode but haven't looked into it recently, it should be possible to get it working I think