module documentation
pygments.lexers.templates ~~~~~~~~~~~~~~~~~~~~~~~~~ Lexers for various template engines' markup. :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details.
Class |
|
Subclass of the `Angular2Lexer` that highlights unlexed data with the `HtmlLexer`. |
Class |
|
Generic angular2 template lexer. |
Class |
|
Subclass of the `CheetahLexer` that highlights unlexed data with the `HtmlLexer`. |
Class |
|
Subclass of the `CheetahLexer` that highlights unlexed data with the `JavascriptLexer`. |
Class |
|
Generic cheetah templates lexer. Code that isn't Cheetah markup is yielded as `Token.Other`. This also works for `spitfire templates`_ which use the same syntax. |
Class |
|
Lexer for handling Cheetah's special $ tokens in Python syntax. |
Class |
|
Subclass of the `CheetahLexer` that highlights unlexed data with the `XmlLexer`. |
Class |
|
Coldfusion markup/script components |
Class |
|
Coldfusion markup in html |
Class |
|
Coldfusion statements |
Class |
|
Coldfusion markup only |
Class |
|
Subclass of the `DjangoLexer` that highlights unlexed data with the `CssLexer`. |
Class |
|
Subclass of `ErbLexer` which highlights unlexed data with the `CssLexer`. |
Class |
|
A lexer that highlights CSS definitions in genshi text templates. |
Class |
|
Subclass of `PhpLexer` which highlights unmatched data with the `CssLexer`. |
Class |
|
Subclass of the `SmartyLexer` that highlights unlexed data with the `CssLexer`. |
Class |
|
Generic `django <http://www.djangoproject.com/documentation/templates/>`_ and `jinja <https://jinja.pocoo.org/jinja/>`_ template lexer. |
Class |
|
Generic ERB (Ruby Templating) lexer. |
Class |
|
Subclass of the `EvoqueLexer` that highlights unlexed data with the `HtmlLexer`. |
Class |
|
For files using the Evoque templating system. |
Class |
|
Subclass of the `EvoqueLexer` that highlights unlexed data with the `XmlLexer`. |
Class |
|
A lexer that highlights `genshi <http://genshi.edgewall.org/>`_ and `kid <http://kid-templating.org/>`_ kid XML templates. |
Class |
|
Base lexer for Genshi markup, used by `HtmlGenshiLexer` and `GenshiLexer`. |
Class |
|
A lexer that highlights genshi text templates. |
Class |
|
Subclass of the `HandlebarsLexer` that highlights unlexed data with the `HtmlLexer`. |
Class |
|
Generic handlebars template lexer. |
Class |
|
Subclass of the `DjangoLexer` that highlights unlexed data with the `HtmlLexer`. |
Class |
|
A lexer that highlights `genshi <http://genshi.edgewall.org/>`_ and `kid <http://kid-templating.org/>`_ kid HTML templates. |
Class |
|
Subclass of `PhpLexer` that highlights unhandled data with the `HtmlLexer`. |
Class |
|
Subclass of the `SmartyLexer` that highlights unlexed data with the `HtmlLexer`. |
Class |
|
Subclass of the `DjangoLexer` that highlights unlexed data with the `JavascriptLexer`. |
Class |
|
Subclass of `ErbLexer` which highlights unlexed data with the `JavascriptLexer`. |
Class |
|
A lexer that highlights javascript code in genshi text templates. |
Class |
|
Subclass of `PhpLexer` which highlights unmatched data with the `JavascriptLexer`. |
Class |
|
Subclass of the `SmartyLexer` that highlights unlexed data with the `JavascriptLexer`. |
Class |
|
Lexer for Java Server Pages. |
Class |
|
Base for the `JspLexer`. Yields `Token.Other` for area outside of JSP tags. |
Class |
|
Subclass of the `LassoLexer` which highlights unhandled data with the `CssLexer`. |
Class |
|
Subclass of the `LassoLexer` which highlights unhandled data with the `HtmlLexer`. |
Class |
|
Subclass of the `LassoLexer` which highlights unhandled data with the `JavascriptLexer`. |
Class |
|
Subclass of the `LassoLexer` which highlights unhandled data with the `XmlLexer`. |
Class |
|
Lexer for Liquid templates. |
Class |
|
Subclass of the `MakoLexer` that highlights unlexed data with the `CssLexer`. |
Class |
|
Subclass of the `MakoLexer` that highlights unlexed data with the `HtmlLexer`. |
Class |
|
Subclass of the `MakoLexer` that highlights unlexed data with the `JavascriptLexer`. |
Class |
|
Generic mako templates lexer. Code that isn't Mako markup is yielded as `Token.Other`. |
Class |
|
Subclass of the `MakoLexer` that highlights unlexed data with the `XmlLexer`. |
Class |
|
Generic mason templates lexer. Stolen from Myghty lexer. Code that isn't Mason markup is HTML. |
Class |
|
Subclass of the `MyghtyLexer` that highlights unlexed data with the `CssLexer`. |
Class |
|
Subclass of the `MyghtyLexer` that highlights unlexed data with the `HtmlLexer`. |
Class |
|
Subclass of the `MyghtyLexer` that highlights unlexed data with the `JavascriptLexer`. |
Class |
|
Generic myghty templates lexer. Code that isn't Myghty markup is yielded as `Token.Other`. |
Class |
|
Subclass of the `MyghtyLexer` that highlights unlexed data with the `XmlLexer`. |
Class |
|
Subclass of the ERB lexer that highlights the unlexed data with the html lexer. |
Class |
|
Generic Smarty template lexer. |
Class |
|
Templated SQL lexer. |
Class |
|
Lexer for Scalate Server Pages. |
Class |
|
Lexer for `Tea Templates <http://teatrove.org/>`_. |
Class |
|
Base for the `TeaTemplateLexer`. Yields `Token.Other` for area outside of code blocks. |
Class |
|
Subclass of the `TwigLexer` that highlights unlexed data with the `HtmlLexer`. |
Class |
|
Twig template lexer. |
Class |
|
Subclass of the `VelocityLexer` that highlights unlexed data with the `HtmlLexer`. |
Class |
|
Generic Velocity template lexer. |
Class |
|
Subclass of the `VelocityLexer` that highlights unlexed data with the `XmlLexer`. |
Class |
|
Subclass of the `DjangoLexer` that highlights unlexed data with the `XmlLexer`. |
Class |
|
Subclass of `ErbLexer` which highlights data outside preprocessor directives with the `XmlLexer`. |
Class |
|
Subclass of `PhpLexer` that highlights unhandled data with the `XmlLexer`. |
Class |
|
Subclass of the `SmartyLexer` that highlights unlexed data with the `XmlLexer`. |
Class |
|
Subclass of the `DjangoLexer` that highlights unlexed data with the `YamlLexer`. |