File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ scopeName: source.wikitext
1010patterns :
1111 - include : " #wikitext"
1212 - include : text.html.basic
13+ # - include: text.html.derivative
1314repository :
1415 # wikitext: https://www.mediawiki.org/wiki/Wikitext
1516 wikitext :
@@ -582,7 +583,7 @@ repository:
582583 patterns :
583584 - include : source.json
584585 math :
585- begin : (?i)(<)(math)(\s+[^>]+)?\s*(>)
586+ begin : (?i)(<)(math|chem|ce )(\s+[^>]+)?\s*(>)
586587 beginCaptures :
587588 0 :
588589 name : meta.tag.metadata.start.wikitext
@@ -601,7 +602,7 @@ repository:
601602 - include : $self
602603 4 :
603604 name : punctuation.definition.tag.end.wikitext
604- end : (?i)(</)(math)\s*(>)
605+ end : (?i)(</)(math|chem|ce )\s*(>)
605606 endCaptures :
606607 0 :
607608 name : meta.tag.metadata.end.wikitext
@@ -613,7 +614,7 @@ repository:
613614 name : punctuation.definition.tag.end.wikitext
614615 contentName : meta.embedded.block.latex
615616 patterns :
616- - include : text.tex.latex
617+ - include : text.html.markdown.math#math
617618 # public
618619 doublequotedString :
619620 begin : ' "'
You can’t perform that action at this time.
0 commit comments