Skip to content

Commit 772e4a1

Browse files
authored
feat(language): add code_typst (@iggedi-ig-ig) (monkeytypegame#6117)
1 parent 7759080 commit 772e4a1

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed

frontend/static/languages/_groups.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@
606606
"code_lua",
607607
"code_luau",
608608
"code_latex",
609+
"code_typst",
609610
"code_matlab",
610611
"code_sql",
611612
"code_perl",

frontend/static/languages/_list.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@
339339
,"code_lua"
340340
,"code_luau"
341341
,"code_latex"
342+
,"code_typst"
342343
,"code_matlab"
343344
,"code_sql"
344345
,"code_perl"
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"name": "code_typst",
3+
"noLazyMode": true,
4+
"ligatures": false,
5+
"words": [
6+
"#use",
7+
"#set par(justify: true)",
8+
"#show",
9+
"#set",
10+
"#let",
11+
"#par",
12+
"#figure",
13+
"#underline",
14+
"#smallcaps",
15+
"#grid",
16+
"#box",
17+
"#place",
18+
"#import",
19+
"#link",
20+
"#lorem(50)",
21+
"let",
22+
"#{",
23+
"}",
24+
"#(",
25+
")",
26+
"#[",
27+
"]",
28+
"$",
29+
"@",
30+
"*",
31+
"-",
32+
"_",
33+
"\\",
34+
"/",
35+
"//",
36+
"floor(x)",
37+
"cal(A)",
38+
"NN",
39+
"RR",
40+
">",
41+
"<",
42+
">=",
43+
"gt.eq.not",
44+
"sum_(k=1)^oo",
45+
"pi",
46+
"&=",
47+
"vec",
48+
"mat"
49+
]
50+
}

0 commit comments

Comments
 (0)