Skip to content
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This is a mirror of

Syntax highlighting for Extensible HyperText Markup Language.
Handles XHTML 1.0 (Strict, Transitional and Frameset) and XHTML 1.1;
XHTML 2.0 (as of 7th Working Draft), including XML Events and XForms, is also highlighted.

Syntax of the following languages embedded in XHTML document can be highlighted: MathML, SVG, CSS, JavaScript, VBScript, SSI and XSSI.

There is also special highlighting for XHTML events ("on..." attributes with JavaScript content), however it is possible to disable it by setting the following variable:
(just insert line "let xhtml_no_events_rendering=1" to your .vimrc file).

CSS highlighting in "style" attributes is availaible too; you can disable it by setting this variable:

Something went wrong with that request. Please try again.