<language name="Jinja/Mustache/Handlebars (HTML)" version="1769676925" kateversion="5.79" section="Other" priority="1" mimetype="" extensions="*.mustache.jinja;*.mustache.jinja2;*.mustache.j2;*.handlebars.jinja;*.handlebars.jinja2;*.handlebars.j2;*.hbs.jinja;*.hbs.jinja2;*.hbs.j2;*.ractive.jinja;*.ractive.jinja2;*.ractive.j2;*.hogan.jinja;*.hogan.jinja2;*.hogan.j2;*.hulk.jinja;*.hulk.jinja2;*.hulk.j2;*.html.mst.jinja;*.html.mst.jinja2;*.html.mst.j2;*.html.mu.jinja;*.html.mu.jinja2;*.html.mu.j2;*.html.rac.jinja;*.html.rac.jinja2;*.html.rac.j2" author="Nibaldo González (nibgonz@gmail.com), based on the HTML highlighter by Wilbert Berendsen (wilbert@kde.nl)" license="MIT" generated="true">

<!--Generated by generate_jinja.py, the Jinja infusion script for KDE Syntax Highlighting-->

<highlighting>

	<contexts>

		<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<WordDetect context="CSS" attribute="Element Tag" String="&lt;style" insensitive="true" beginRegion="style" />
			<WordDetect context="JS" attribute="Element Tag" String="&lt;script" insensitive="true" beginRegion="script" />
			<IncludeRules context="Base" />
		</context>

		
		<context name="Base" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<IncludeRules context="MustacheVariables" />

			<StringDetect context="CDATA" attribute="CDATA" String="&lt;![CDATA[" beginRegion="cdata" />
			<WordDetect context="Doctype" attribute="Doctype" String="&lt;!DOCTYPE" insensitive="true" beginRegion="doctype" />
			<IncludeRules context="FindPI" />

			<IncludeRules context="FindTags" />
			<IncludeRules context="FindElementTagEnd" />
			<IncludeRules context="FindComments" />
			<IncludeRules context="FindDTDRules" />
			<IncludeRules context="FindEntityRefs" />
		</context>

		

		<context name="MustacheVariables" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<StringDetect context="#stay" attribute="Normal Text" String="\{{" />
			<Detect2Chars context="StartMustacheVariable" char="{" char1="{" lookAhead="true" />
		</context>
		<context name="StartMustacheVariable" attribute="Normal Text" lineEndContext="#stay">
			
			<IncludeRules context="jinja_boot##Jinja" />
			
			<RegExpr context="#pop!MustacheRawBlockContent" attribute="Mustache Block" String="\{{4}[^/].*\}{4}" minimal="true" beginRegion="HandlebarsRawBlock" />
			
			
			<RegExpr context="#pop!MustacheVariableBlock" attribute="Mustache Block" String="\{\{~?\s*else(?:\s+(?:if|unless|with|link\-to|each(?:\-in)?))?\b" />
			<RegExpr context="#pop!MustacheVariableBlock" attribute="Mustache Block" String="\{\{~?[#\^][&gt;\*]?\s*(?:[a-zA-Z_$:\?]|[^[:ascii:]])(?:[\w$:\?\-]|[^[:ascii:]])*\b" beginRegion="MustacheBlock" />
			<RegExpr context="#pop" attribute="Mustache Block" String="\{\{~?/\s*(?:[a-zA-Z_$:\?]|[^[:ascii:]])(?:[\w$:\?\-]|[^[:ascii:]])*\s*\}\}" endRegion="MustacheBlock" />
			<RegExpr context="#pop!MustacheVariableBlockEndFolding" attribute="Mustache Block" String="\{\{~?/\s*(?:[a-zA-Z_$:\?]|[^[:ascii:]])(?:[\w$:\?\-]|[^[:ascii:]])*\b" />
			<RegExpr context="#pop!MustacheVariableBlock" attribute="Mustache Block" String="\{\{~?[#\^/]" />
			
			<StringDetect context="#pop!HandlebarsInlineComment" attribute="Comment" String="{{!--" beginRegion="HandlebarsInlineComment" /> 
			<StringDetect context="#pop!MustacheInlineComment" attribute="Comment" String="{{!" beginRegion="MustacheInlineComment" />
			
			<StringDetect context="#pop!MustachePartial" attribute="Mustache Variable" String="{{&lt;" />
			<StringDetect context="#pop!MustachePartial" attribute="Mustache Variable" String="{{&gt;" />
			<StringDetect context="#pop!MustacheMarkerSet" attribute="Mustache Variable" String="{{=" />
			<StringDetect context="#pop!MustacheVariable" attribute="Mustache Variable" String="{{$" />
			<RegExpr context="#pop!MustacheVariableUnescape" attribute="Mustache Variable Unescape" String="\{\{\{\s*(?:log|link)\b" />
			<RegExpr context="#pop!MustacheVariable" attribute="Mustache Variable" String="\{\{\s*(?:log|link)\b" />

			<StringDetect context="#pop!MustacheVariableUnescape" attribute="Mustache Variable Unescape" String="{{{" />
			<Detect2Chars context="#pop!MustacheVariable" attribute="Mustache Variable" char="{" char1="{" />
		</context>

		<context name="MustacheRawBlockContent" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<RegExpr context="#pop" attribute="Mustache Block" String="\{{4}/.*\}{4}" minimal="true" endRegion="HandlebarsRawBlock" />
		</context>

		<context name="MustachePartial" attribute="Mustache Partial" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<Detect2Chars context="#pop" attribute="Mustache Variable" char="}" char1="}" />
			<IncludeRules context="MustacheInside" />
		</context>
		<context name="MustacheMarkerSet" attribute="Mustache Marker Set" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<StringDetect context="#pop" attribute="Mustache Variable" String="=}}" />
		</context>

		<context name="MustacheVariableBlock" attribute="Mustache Inside" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<Detect2Chars context="#pop" attribute="Mustache Block" char="}" char1="}" />
			<IncludeRules context="MustacheInside" />
		</context>
		<context name="MustacheVariableBlockEndFolding" attribute="Mustache Inside" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<Detect2Chars context="#pop" attribute="Mustache Block" char="}" char1="}" endRegion="MustacheBlock" />
			<IncludeRules context="MustacheInside" />
		</context>
		<context name="MustacheVariable" attribute="Mustache Inside" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<Detect2Chars context="#pop" attribute="Mustache Variable" char="}" char1="}" />
			<IncludeRules context="MustacheInside" />
		</context>
		<context name="MustacheVariableUnescape" attribute="Mustache Inside" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<StringDetect context="#pop" attribute="Mustache Variable Unescape" String="}}}" />
			<IncludeRules context="MustacheInside" />
		</context>

		
		<context name="MustacheInside" attribute="Mustache Inside" lineEndContext="#pop">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="MustacheStringDQ" attribute="String" char="&quot;" />
			<DetectChar context="MustacheStringSQ" attribute="String" char="'" />
			<AnyChar context="#stay" attribute="Symbol" String=".[]|" />
			<RegExpr context="MustacheSymbolValue" attribute="Attribute" String="(?:\s|^)[A-Za-z_:\*#\(\[][\)\]\w\.:_-]*(?=\s*\=)" />
		</context>
		<context name="MustacheStringDQ" attribute="String" lineEndContext="#pop">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="String" char="&quot;" />
			<LineContinue context="#stay" attribute="Escape" />
			<HlCStringChar context="#stay" attribute="Escape" />
		</context>
		<context name="MustacheStringSQ" attribute="String" lineEndContext="#pop">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="String" char="'" />
			<LineContinue context="#stay" attribute="Escape" />
			<HlCStringChar context="#stay" attribute="Escape" />
		</context>
		<context name="MustacheSymbolValue" attribute="Mustache Inside" lineEndContext="#pop" fallthroughContext="#pop">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop!MustacheValue" attribute="Symbol" char="=" />
			<DetectSpaces />
		</context>
		<context name="MustacheValue" attribute="Mustache Inside" lineEndContext="#pop" fallthroughContext="#pop">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectSpaces />
			<RegExpr context="#pop" attribute="Number" String="\d+(?=[\s\}\)\]]|$)" />
		</context>

		<context name="HandlebarsInlineComment" attribute="Comment" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<StringDetect context="#pop" attribute="Comment" String="--}}" endRegion="HandlebarsInlineComment" />
			<DetectSpaces />
			<IncludeRules context="##Jinja/Comments" />
		</context>
		<context name="MustacheInlineComment" attribute="Comment" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<Detect2Chars context="#pop" attribute="Comment" char="}" char1="}" endRegion="MustacheInlineComment" />
			<DetectSpaces />
			<IncludeRules context="##Jinja/Comments" />
		</context>

		

		
		<context name="FindTags" attribute="Normal Text" lineEndContext="#stay">
			
			<IncludeRules context="jinja_boot##Jinja" />
			
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;pre" insensitive="true" beginRegion="pre" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;div" insensitive="true" beginRegion="div" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;table" insensitive="true" beginRegion="table" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;ul" insensitive="true" beginRegion="ul" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;ol" insensitive="true" beginRegion="ol" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;dl" insensitive="true" beginRegion="dl" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;article" insensitive="true" beginRegion="article" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;aside" insensitive="true" beginRegion="aside" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;details" insensitive="true" beginRegion="details" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;figure" insensitive="true" beginRegion="figure" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;footer" insensitive="true" beginRegion="footer" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;header" insensitive="true" beginRegion="header" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;main" insensitive="true" beginRegion="main" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;nav" insensitive="true" beginRegion="nav" />
			<WordDetect context="ElementTag" attribute="Element Tag" String="&lt;section" insensitive="true" beginRegion="section" />

			<RegExpr context="#stay" attribute="Element Tag" String="&lt;\s*&gt;" />
			<RegExpr context="ElementTag" attribute="Element Tag" String="&lt;\s*(?:[A-Za-z_:][\w.:_-]*|&gt;)" />
		</context>
		<context name="FindEntityRefs" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<RegExpr context="#stay" attribute="EntityRef" String="&amp;(?:#[0-9]+|#[xX][0-9A-Fa-f]+|[A-Za-z_:][\w.:_-]*);" />
		</context>

		
		<context name="FindElementTagEnd" attribute="Normal Text" lineEndContext="#stay">
			
			<IncludeRules context="jinja_boot##Jinja" />
			
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/pre" insensitive="true" endRegion="pre" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/div" insensitive="true" endRegion="div" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/table" insensitive="true" endRegion="table" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/ul" insensitive="true" endRegion="ul" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/ol" insensitive="true" endRegion="ol" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/dl" insensitive="true" endRegion="dl" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/article" insensitive="true" endRegion="article" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/aside" insensitive="true" endRegion="aside" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/details" insensitive="true" endRegion="details" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/figure" insensitive="true" endRegion="figure" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/footer" insensitive="true" endRegion="footer" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/header" insensitive="true" endRegion="header" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/main" insensitive="true" endRegion="main" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/nav" insensitive="true" endRegion="nav" />
			<WordDetect context="ElementTagEnd" attribute="Element Tag" String="&lt;/section" insensitive="true" endRegion="section" />

			<RegExpr context="#stay" attribute="Element Tag" String="&lt;/\s*&gt;" />
			<RegExpr context="ElementTagEnd" attribute="Element Tag" String="&lt;/\s*[A-Za-z_:][\w.:_-]*" />
		</context>
		<context name="ElementTagEnd" attribute="Error" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="Element Tag" char="&gt;" />
			<DetectSpaces attribute="Normal Text" />
			<IncludeRules context="MustacheVariables" />
		</context>

		
		<context name="ElementTag" attribute="Error" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<Detect2Chars context="#pop" attribute="Element Tag" char="/" char1="&gt;" />
			<DetectChar context="#pop" attribute="Element Tag" char="&gt;" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="FindAttributes" />
			<DetectSpaces attribute="Normal Text" />
		</context>
		<context name="FindAttributes" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<RegExpr context="#stay" attribute="Attribute" String="(?:\s|^)[A-Za-z_:\*#\(\[][\)\]\w\.:_-]*" />
			<RegExpr context="#stay" attribute="Error" String="\=(?=\s*/?&gt;)" />
			<DetectChar context="Value" attribute="Symbol" char="=" />
		</context>

		<context name="Value" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!ValueNQ">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop!ValueDQ" attribute="Value" char="&quot;" />
			<DetectChar context="#pop!ValueSQ" attribute="Value" char="'" />
			<RegExpr context="#pop" attribute="Number" String="\d+(?=\s|/?&gt;|$)" />
			<DetectSpaces />
		</context>
		<context name="ValueDQ" attribute="Value" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="Value" char="&quot;" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="FindEntityRefs" />
		</context>
		<context name="ValueSQ" attribute="Value" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="Value" char="'" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="FindEntityRefs" />
		</context>
		<context name="ValueNQ" attribute="Normal Text" lineEndContext="#pop" fallthroughContext="#pop">
			<IncludeRules context="jinja_boot##Jinja" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="FindEntityRefs" />
			<RegExpr context="#stay" attribute="Value" String="/(?!&gt;)|[^/&gt;&lt;&quot;'\s]" />
		</context>

		
		

		<context name="FindComments" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<StringDetect context="Comment" attribute="Comment" String="&lt;!--" beginRegion="Comment" />
		</context>
		<context name="Comment" attribute="Comment" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectSpaces />
			<StringDetect context="#pop" attribute="Comment" String="--&gt;" endRegion="Comment" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="##Jinja/Comments" />
		</context>

		<context name="FindPEntityRefs" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<RegExpr attribute="EntityRef" context="#stay" String="&amp;(?:#[0-9]+|#[xX][0-9A-Fa-f]+|[A-Za-z_:][\w.:_-]*);" />
			<RegExpr attribute="PEntityRef" context="#stay" String="%[A-Za-z_:][\w.:_-]*;" />
			<AnyChar attribute="Error" context="#stay" String="&amp;%" />
		</context>

		<context name="FindDTDRules" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<RegExpr context="Doctype Markupdecl" attribute="Doctype" String="&lt;!(?:ELEMENT|ENTITY|ATTLIST|NOTATION)\b" />
		</context>
		<context name="FindPI" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<RegExpr context="PI" attribute="Processing Instruction" String="&lt;\?[\w:-]*" beginRegion="pi" />
		</context>

		<context name="CDATA" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<IncludeRules context="MustacheVariables" />
			<StringDetect context="#pop" attribute="CDATA" String="]]&gt;" endRegion="cdata" />
		</context>

		<context name="PI" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<IncludeRules context="MustacheVariables" />
			<Detect2Chars context="#pop" attribute="Processing Instruction" char="?" char1="&gt;" endRegion="pi" />
		</context>

		<context name="Doctype" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<IncludeRules context="MustacheVariables" />
			<DetectChar context="#pop" attribute="Doctype" char="&gt;" endRegion="doctype" />
			<DetectChar context="Doctype Internal Subset" attribute="Doctype" char="[" beginRegion="int_subset" />
		</context>
		<context name="Doctype Internal Subset" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="Doctype" char="]" endRegion="int_subset" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="FindDTDRules" />
			<IncludeRules context="FindComments" />
			<IncludeRules context="FindPI" />
			<IncludeRules context="FindPEntityRefs" />
		</context>
		<context name="Doctype Markupdecl" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar attribute="Doctype" context="#pop" char="&gt;" />
			<IncludeRules context="MustacheVariables" />
			<DetectChar attribute="Value" context="Doctype Markupdecl DQ" char="&quot;" />
			<DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="'" />
		</context>
		<context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar attribute="Value" context="#pop" char="&quot;" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="FindPEntityRefs" />
		</context>
		<context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar attribute="Value" context="#pop" char="'" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="FindPEntityRefs" />
		</context>

		

		<context name="CSS" attribute="Error" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<Detect2Chars context="#pop" attribute="Element Tag" char="/" char1="&gt;" endRegion="style" />
			<DetectChar context="#pop!CSSContent" attribute="Element Tag" char="&gt;" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="FindAttributes" />
			<DetectSpaces attribute="Normal Text" />
		</context>
		<context name="CSSContent" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<WordDetect context="#pop!ElementTagEnd" attribute="Element Tag" String="&lt;/style" insensitive="true" endRegion="style" />
			<IncludeRules context="MustacheVariables" />

			<DetectChar context="CSS-RuleSet" attribute="Normal Text" char="{" beginRegion="ruleset" />
			<DetectChar context="CSS-SelectorAttr" attribute="CSS: Selector Attribute" char="[" />
			<IncludeRules context="##Jinja/CSS" includeAttrib="true" />
		</context>

		
		<context name="CSS-RuleSet" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="CSS-Rule">
			<IncludeRules context="jinja_boot##Jinja" />
			<IncludeRules context="MustacheVariables" />
			<DetectChar context="CSS-RuleSet" attribute="Normal Text" char="{" beginRegion="ruleset" />
			<DetectChar context="#pop" attribute="Normal Text" char="}" endRegion="ruleset" />
         <AnyChar context="CSS-Selector" String=".#:,[*&gt;+~|&amp;" lookAhead="1" />
		</context>
		<context name="CSS-Selector" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<IncludeRules context="MustacheVariables" />
			<DetectChar context="#pop!CSS-RuleSet" attribute="Normal Text" char="{" beginRegion="ruleset" />
			<DetectChar attribute="Normal Text" context="#pop#pop" char="}" endRegion="ruleset" />
			<IncludeRules context="Selector##Jinja/CSS" />
		</context>
		<context name="CSS-Rule" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<IncludeRules context="MustacheVariables" />
			<AnyChar context="#pop!CSS-Selector" String=".#,[*&gt;+~|&amp;@{}" lookAhead="1" />
			<IncludeRules context="Rule##Jinja/CSS" />
		</context>
		<context name="CSS-SelectorAttr" attribute="CSS: Selector Attribute" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="CSS: Selector Attribute" char="]" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="SelectorAttr##Jinja/CSS" />
		</context>

		

		<context name="JS" attribute="Error" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop!JSContent" attribute="Element Tag" char="&gt;" />
			<Detect2Chars context="#pop" attribute="Element Tag" char="/" char1="&gt;" endRegion="script" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="FindAttributes" />
			<DetectSpaces attribute="Normal Text" />
		</context>

		<context name="JSContent" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<WordDetect context="#pop!ElementTagEnd" attribute="Element Tag" String="&lt;/script" insensitive="true" endRegion="script" />
			<RegExpr context="JSCommentClose" attribute="Comment" String="//(?=.*&lt;/script\b)" insensitive="true" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="OverwriteJavaScript" />
			<IncludeRules context="Normal##Jinja/JavaScript" includeAttrib="true" />
		</context>
		<context name="JSCommentClose" attribute="Comment" lineEndContext="#pop">
			<IncludeRules context="jinja_boot##Jinja" />
			<WordDetect context="#pop#pop!ElementTagEnd" attribute="Element Tag" String="&lt;/script" insensitive="true" endRegion="script" />
			<DetectSpaces />
			<IncludeRules context="##Jinja/Comments" />
		</context>

		
		<context name="OverwriteJavaScript" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="JavaScript-Template" attribute="JS: Template" char="`" />
			<StringDetect context="JavaScript-RawTemplate" attribute="JS: Template" String="String.raw`" />
			<DetectChar context="JavaScript-String" attribute="String" char="&quot;" />
			<DetectChar context="JavaScript-StringSQ" attribute="String" char="'" />
			<DetectChar context="JavaScript-Object" attribute="Symbol" char="{" beginRegion="Brace" />
			<DetectChar context="#stay" attribute="Symbol" char="?" />
		</context>
		<context name="JavaScript-Object" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="Symbol" char="}" endRegion="Brace" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="OverwriteJavaScript" />
			<IncludeRules context="Object##Jinja/JavaScript" includeAttrib="true" />
		</context>
		<context name="JavaScript-Template" attribute="JS: Template" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="JS: Template" char="`" />
			<Detect2Chars context="JavaScript-Substitution" attribute="JS: Substitution" char="$" char1="{" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="Template##Jinja/JavaScript" />
		</context>
		<context name="JavaScript-Substitution" attribute="Normal Text" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="JS: Substitution" char="}" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="OverwriteJavaScript" />
			<IncludeRules context="Substitution##Jinja/JavaScript" />
		</context>
		<context name="JavaScript-String" attribute="String" lineEndContext="#pop">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="String" char="&quot;" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="String##Jinja/JavaScript" />
		</context>
		<context name="JavaScript-StringSQ" attribute="String" lineEndContext="#pop">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="String" char="'" />
			<IncludeRules context="MustacheVariables" />
			<IncludeRules context="String SQ##Jinja/JavaScript" />
		</context>
		<context name="JavaScript-RawTemplate" attribute="JS: Template" lineEndContext="#stay">
			<IncludeRules context="jinja_boot##Jinja" />
			<DetectChar context="#pop" attribute="JS: Template" char="`" />
			<IncludeRules context="MustacheVariables" />
		</context>

	</contexts>

	<itemDatas>
		<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" />
		<itemData name="Comment" defStyleNum="dsComment" />

		<itemData name="Mustache Inside" defStyleNum="dsNormal" spellChecking="false" />
		<itemData name="Mustache Block" defStyleNum="dsFunction" bold="1" spellChecking="false" />
		<itemData name="Mustache Variable" defStyleNum="dsVariable" spellChecking="false" />
		<itemData name="Mustache Variable Unescape" defStyleNum="dsSpecialChar" spellChecking="false" />
		<itemData name="Mustache Partial" defStyleNum="dsChar" spellChecking="false" />
		<itemData name="Mustache Marker Set" defStyleNum="dsVariable" spellChecking="false" />
		<itemData name="String" defStyleNum="dsString" />
		<itemData name="Number" defStyleNum="dsDecVal" />

		<itemData name="Element Tag" defStyleNum="dsKeyword" spellChecking="false" />
		<itemData name="Attribute" defStyleNum="dsOthers" spellChecking="false" />
		<itemData name="Value" defStyleNum="dsString" spellChecking="false" />
		<itemData name="Symbol" defStyleNum="dsOperator" />
		<itemData name="Escape" defStyleNum="dsSpecialChar" />
		<itemData name="Error" defStyleNum="dsError" spellChecking="false" />

		<itemData name="EntityRef" defStyleNum="dsDecVal" spellChecking="false" />
		<itemData name="PEntityRef" defStyleNum="dsDecVal" spellChecking="false" />
		<itemData name="CDATA" defStyleNum="dsBaseN" bold="1" spellChecking="false" />
		<itemData name="Processing Instruction" defStyleNum="dsKeyword" spellChecking="false" />
		<itemData name="Doctype" defStyleNum="dsDataType" bold="1" spellChecking="false" />

		
		<itemData name="CSS: Selector Attribute" defStyleNum="dsExtension" spellChecking="false" />
		
		<itemData name="JS: Template" defStyleNum="dsVerbatimString" />
		<itemData name="JS: Substitution" defStyleNum="dsSpecialChar" spellChecking="false" />
	</itemDatas>

</highlighting>

<general>
	<comments>
		<comment name="multiLine" start="{{!--" end="--}}" region="HandlebarsInlineComment" />
	</comments>
</general>

</language>