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
10
10
patterns :
11
11
- include : " #wikitext"
12
12
- include : text.html.basic
13
+ # - include: text.html.derivative
13
14
repository :
14
15
# wikitext: https://www.mediawiki.org/wiki/Wikitext
15
16
wikitext :
@@ -582,7 +583,7 @@ repository:
582
583
patterns :
583
584
- include : source.json
584
585
math :
585
- begin : (?i)(<)(math)(\s+[^>]+)?\s*(>)
586
+ begin : (?i)(<)(math|chem|ce )(\s+[^>]+)?\s*(>)
586
587
beginCaptures :
587
588
0 :
588
589
name : meta.tag.metadata.start.wikitext
@@ -601,7 +602,7 @@ repository:
601
602
- include : $self
602
603
4 :
603
604
name : punctuation.definition.tag.end.wikitext
604
- end : (?i)(</)(math)\s*(>)
605
+ end : (?i)(</)(math|chem|ce )\s*(>)
605
606
endCaptures :
606
607
0 :
607
608
name : meta.tag.metadata.end.wikitext
@@ -613,7 +614,7 @@ repository:
613
614
name : punctuation.definition.tag.end.wikitext
614
615
contentName : meta.embedded.block.latex
615
616
patterns :
616
- - include : text.tex.latex
617
+ - include : text.html.markdown.math#math
617
618
# public
618
619
doublequotedString :
619
620
begin : ' "'
You can’t perform that action at this time.
0 commit comments