Changeset View
Changeset View
Standalone View
Standalone View
data/syntax/html.xml
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
---|---|---|---|---|---|
2 | <!DOCTYPE language SYSTEM "language.dtd" | 2 | <!DOCTYPE language SYSTEM "language.dtd" | ||
3 | [ | 3 | [ | ||
4 | <!ENTITY name "[A-Za-z_:][\w.:_-]*"> | 4 | <!ENTITY name "[A-Za-z_:][\w.:_-]*"> | ||
5 | <!ENTITY attributeName "[A-Za-z_:*#\(\[][\)\]\w.:_-]*"> | 5 | <!ENTITY attributeName "[A-Za-z_:*#\(\[][\)\]\w.:_-]*"> | ||
6 | <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> | 6 | <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> | ||
7 | ]> | 7 | ]> | ||
8 | <language name="HTML" version="9" kateversion="5.53" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10"> | 8 | <language name="HTML" version="10" kateversion="5.53" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10"> | ||
9 | 9 | | |||
10 | <highlighting> | 10 | <highlighting> | ||
11 | <contexts> | 11 | <contexts> | ||
12 | <context name="Start" attribute="Normal Text" lineEndContext="#stay"> | 12 | <context name="Start" attribute="Normal Text" lineEndContext="#stay"> | ||
13 | <IncludeRules context="FindHTML" /> | 13 | <IncludeRules context="FindHTML" /> | ||
14 | </context> | 14 | </context> | ||
15 | 15 | | |||
16 | <context name="FindHTML" attribute="Normal Text" lineEndContext="#stay"> | 16 | <context name="FindHTML" attribute="Normal Text" lineEndContext="#stay"> | ||
▲ Show 20 Lines • Show All 235 Lines • ▼ Show 20 Line(s) | |||||
252 | </context> | 252 | </context> | ||
253 | 253 | | |||
254 | <context name="JSX" attribute="Other Text" lineEndContext="#stay"> | 254 | <context name="JSX" attribute="Other Text" lineEndContext="#stay"> | ||
255 | <DetectChar attribute="Element" context="JSX content" char=">" /> | 255 | <DetectChar attribute="Element" context="JSX content" char=">" /> | ||
256 | <IncludeRules context="DefaultJS" /> | 256 | <IncludeRules context="DefaultJS" /> | ||
257 | </context> | 257 | </context> | ||
258 | <context name="JSX content" attribute="Other Text" lineEndContext="#stay"> | 258 | <context name="JSX content" attribute="Other Text" lineEndContext="#stay"> | ||
259 | <IncludeRules context="Default JS content"/> | 259 | <IncludeRules context="Default JS content"/> | ||
260 | <IncludeRules context="Normal##JavaScript React" includeAttrib="true"/> | 260 | <IncludeRules context="Normal##JavaScript React (JSX)" includeAttrib="true"/> | ||
261 | </context> | 261 | </context> | ||
262 | 262 | | |||
263 | <context name="TypeScript" attribute="Other Text" lineEndContext="#stay"> | 263 | <context name="TypeScript" attribute="Other Text" lineEndContext="#stay"> | ||
264 | <DetectChar attribute="Element" context="TypeScript content" char=">" /> | 264 | <DetectChar attribute="Element" context="TypeScript content" char=">" /> | ||
265 | <IncludeRules context="DefaultJS" /> | 265 | <IncludeRules context="DefaultJS" /> | ||
266 | </context> | 266 | </context> | ||
267 | <context name="TypeScript content" attribute="Other Text" lineEndContext="#stay"> | 267 | <context name="TypeScript content" attribute="Other Text" lineEndContext="#stay"> | ||
268 | <IncludeRules context="Default JS content"/> | 268 | <IncludeRules context="Default JS content"/> | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |