Changeset View
Changeset View
Standalone View
Standalone View
data/syntax/markdown.xml
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Line(s) | |||||
83 | <!ENTITY metadatakey "[a-zA-Z0-9][\w\-\s]*\:"> | 83 | <!ENTITY metadatakey "[a-zA-Z0-9][\w\-\s]*\:"> | ||
84 | <!ENTITY htmlname "[A-Za-z_\:][\w\.\:\-]*"> | 84 | <!ENTITY htmlname "[A-Za-z_\:][\w\.\:\-]*"> | ||
85 | <!-- comment --> | 85 | <!-- comment --> | ||
86 | <!ENTITY startcomment "<!--"> | 86 | <!ENTITY startcomment "<!--"> | ||
87 | <!ENTITY endcomment "-->"> | 87 | <!ENTITY endcomment "-->"> | ||
88 | <!ENTITY checkbox "\[[ x]\](?=\s)"> | 88 | <!ENTITY checkbox "\[[ x]\](?=\s)"> | ||
89 | ]> | 89 | ]> | ||
90 | 90 | | |||
91 | <language name="Markdown" version="10" kateversion="5.53" section="Markup" extensions="*.md;*.mmd;*.markdown" priority="15" author="Darrin Yeager, Claes Holmerson" license="GPL,BSD"> | 91 | <language name="Markdown" version="11" kateversion="5.53" section="Markup" extensions="*.md;*.mmd;*.markdown" priority="15" author="Darrin Yeager, Claes Holmerson" license="GPL,BSD"> | ||
92 | <highlighting> | 92 | <highlighting> | ||
93 | <contexts> | 93 | <contexts> | ||
94 | <!-- Start of the Markdown document: find metadata or code block --> | 94 | <!-- Start of the Markdown document: find metadata or code block --> | ||
95 | <context name="Start Document" attribute="Normal Text" lineEndContext="Normal Text" lineEmptyContext="Normal Text" fallthrough="true" fallthroughContext="Normal Text"> | 95 | <context name="Start Document" attribute="Normal Text" lineEndContext="Normal Text" lineEmptyContext="Normal Text" fallthrough="true" fallthroughContext="Normal Text"> | ||
96 | <!-- Some titles: (Title|Author|Date|Copyright|Revision|CSS|LaTeX\ XSLT|Categories|Tags|BaseName|Excerpt) --> | 96 | <!-- Some titles: (Title|Author|Date|Copyright|Revision|CSS|LaTeX\ XSLT|Categories|Tags|BaseName|Excerpt) --> | ||
97 | <!-- Metadata: Markdown format --> | 97 | <!-- Metadata: Markdown format --> | ||
98 | <RegExpr attribute="Metadata" context="metadata" String="\-{3}&end;" column="0" beginRegion="metadata"/> | 98 | <RegExpr attribute="Metadata" context="metadata" String="\-{3}&end;" column="0" beginRegion="metadata"/> | ||
99 | <!-- Metadata: MultiMarkdown format --> | 99 | <!-- Metadata: MultiMarkdown format --> | ||
▲ Show 20 Lines • Show All 287 Lines • ▼ Show 20 Line(s) | 385 | <context attribute="Normal Text" lineEndContext="#stay" name="java-code"> | |||
387 | <IncludeRules context="##Java" includeAttrib="true"/> | 387 | <IncludeRules context="##Java" includeAttrib="true"/> | ||
388 | </context> | 388 | </context> | ||
389 | <context attribute="Normal Text" lineEndContext="#stay" name="javascript-code"> | 389 | <context attribute="Normal Text" lineEndContext="#stay" name="javascript-code"> | ||
390 | <IncludeRules context="code"/> | 390 | <IncludeRules context="code"/> | ||
391 | <IncludeRules context="Normal##JavaScript" includeAttrib="true"/> | 391 | <IncludeRules context="Normal##JavaScript" includeAttrib="true"/> | ||
392 | </context> | 392 | </context> | ||
393 | <context attribute="Normal Text" lineEndContext="#stay" name="jsx-code"> | 393 | <context attribute="Normal Text" lineEndContext="#stay" name="jsx-code"> | ||
394 | <IncludeRules context="code"/> | 394 | <IncludeRules context="code"/> | ||
395 | <IncludeRules context="Normal##JavaScript React" includeAttrib="true"/> | 395 | <IncludeRules context="Normal##JavaScript React (JSX)" includeAttrib="true"/> | ||
396 | </context> | 396 | </context> | ||
397 | <context attribute="Normal Text" lineEndContext="#stay" name="json-code"> | 397 | <context attribute="Normal Text" lineEndContext="#stay" name="json-code"> | ||
398 | <IncludeRules context="code"/> | 398 | <IncludeRules context="code"/> | ||
399 | <IncludeRules context="##JSON" includeAttrib="true"/> | 399 | <IncludeRules context="##JSON" includeAttrib="true"/> | ||
400 | </context> | 400 | </context> | ||
401 | <context attribute="Normal Text" lineEndContext="#stay" lineEmptyContext="find-code-block" name="markdown-code"> | 401 | <context attribute="Normal Text" lineEndContext="#stay" lineEmptyContext="find-code-block" name="markdown-code"> | ||
402 | <IncludeRules context="code"/> | 402 | <IncludeRules context="code"/> | ||
403 | <IncludeRules context="Normal Text"/> | 403 | <IncludeRules context="Normal Text"/> | ||
▲ Show 20 Lines • Show All 235 Lines • Show Last 20 Lines |