summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/src/lexers.txt50
1 files changed, 48 insertions, 2 deletions
diff --git a/docs/src/lexers.txt b/docs/src/lexers.txt
index 834be378..6baf7eb1 100644
--- a/docs/src/lexers.txt
+++ b/docs/src/lexers.txt
@@ -29,8 +29,7 @@ Currently, **all lexers** support these options:
guess the encoding of the input.
-These lexers are builtin and can be imported from
-`pygments.lexers`:
+These lexers are builtin and can be imported from `pygments.lexers`:
Special lexers
@@ -519,6 +518,53 @@ Template languages
:Filename patterns: None
+`MyghtyLexer`
+
+ Generic `myghty templates`_ lexer. Code that isn't Myghty
+ markup is yielded as `Token.Other`.
+
+ .. _mygthy templates: http://www.myghty.org/
+
+ :Aliases: ``myghty``
+ :Filename patterns: ``*.myt``, ``autodelegate``
+
+
+`MyghtyHtmlLexer`
+
+ Subclass of the `MyghtyLexer` that highlights unlexer data
+ with the `HtmlLexer`.
+
+ :Aliases: ``html+myghty``
+ :Filename patterns: None
+
+
+`MyghtyXmlLexer`
+
+ Subclass of the `MyghtyLexer` that highlights unlexer data
+ with the `XmlLexer`.
+
+ :Aliases: ``xml+myghty``
+ :Filename patterns: None
+
+
+`MyghtyJavascriptLexer`
+
+ Subclass of the `MyghtyLexer` that highlights unlexer data
+ with the `JavascriptLexer`.
+
+ :Aliases: ``js+myghty``, ``javascript+myghty``
+ :Filename patterns: None
+
+
+`MyghtyCssLexer`
+
+ Subclass of the `MyghtyLexer` that highlights unlexer data
+ with the `CssLexer`.
+
+ :Aliases: ``css+myghty``
+ :Filename patterns: None
+
+
Other languages
===============