Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'HTML+Django/Jinja'
list aliases = ['html+django', 'html+jinja']
list alias_filenames = ['*.html', '*.htm', '*.xhtml']
list mimetypes = ['text/html+django', 'text/html+jinja']

Detailed Description

Subclass of the `DjangoLexer` that highighlights unlexed data with the

Nested Javascript and CSS is highlighted too.

Definition at line 1079 of file

Constructor & Destructor Documentation

Definition at line 1092 of file

01093     def __init__(self, **options):
01094         super(HtmlDjangoLexer, self).__init__(HtmlLexer, DjangoLexer, **options)

Member Function Documentation

Definition at line 1095 of file

01096     def analyse_text(text):
01097         rv = DjangoLexer.analyse_text(text) - 0.01
01098         if html_doctype_matches(text):
01099             rv += 0.5
01100         return rv

Member Data Documentation

Definition at line 1089 of file

list = ['html+django', 'html+jinja'] [static]

Definition at line 1088 of file

list = ['text/html+django', 'text/html+jinja'] [static]

Definition at line 1090 of file

Definition at line 1087 of file

The documentation for this class was generated from the following file: