Skip to content

Commit

Permalink
Add extra math environments (#150)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
  • Loading branch information
jdujava authored Jul 23, 2024
1 parent 12523bd commit 81acebb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,14 +576,20 @@ module.exports = grammar({
'eqnarray*',
'align',
'align*',
'aligned',
'aligned*',
'array',
'array*',
'split',
'split*',
'alignat',
'alignat*',
'alignedat',
'alignedat*',
'gather',
'gather*',
'gathered',
'gathered*',
'flalign',
'flalign*',
),
Expand Down
24 changes: 24 additions & 0 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -3893,6 +3893,14 @@
"type": "STRING",
"value": "align*"
},
{
"type": "STRING",
"value": "aligned"
},
{
"type": "STRING",
"value": "aligned*"
},
{
"type": "STRING",
"value": "array"
Expand All @@ -3917,6 +3925,14 @@
"type": "STRING",
"value": "alignat*"
},
{
"type": "STRING",
"value": "alignedat"
},
{
"type": "STRING",
"value": "alignedat*"
},
{
"type": "STRING",
"value": "gather"
Expand All @@ -3925,6 +3941,14 @@
"type": "STRING",
"value": "gather*"
},
{
"type": "STRING",
"value": "gathered"
},
{
"type": "STRING",
"value": "gathered*"
},
{
"type": "STRING",
"value": "flalign"
Expand Down

0 comments on commit 81acebb

Please sign in to comment.