Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have very specific requirements:

  • HTML5 and HTML 4.01 in SGML mode (I'm one of the non-believers in XHTML);
  • Be able to mix in other modes (like Django templates, PHP, etc.)

Bonus points for validation and other development tools.

nxhtml is great and all, but it's pretty much entirely XML-based. I'm not working in XML.

share|improve this question

1 Answer 1

I have historically used PSGML mode for editing HTML, and it works admirably well. It has a built-in parser, but it's somewhat limited: you can configure it to use an external SGML parser for more thorough parsing and validation. Installation and configuration is a bit tricky, but the user manual is reasonably well written and covers what you'll need to set up the various bits and pieces you need (Emacs + the PSGML mode elisp files + the appropriate SGML declaration, DTDs, entity files + the SGML parser you want to use).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.