Adds Typst syntax from hyrious/typst-syntax-highlight

This commit is contained in:
Chad Skeeters 2025-05-20 14:43:21 -05:00
parent aa5e28bef5
commit fb514ca90f
4 changed files with 60 additions and 0 deletions

3
.gitmodules vendored
View File

@ -269,3 +269,6 @@
[submodule "assets/syntaxes/02_Extra/sublime-odin"]
path = assets/syntaxes/02_Extra/sublime-odin
url = https://github.com/odin-lang/sublime-odin
[submodule "assets/syntaxes/02_Extra/typst-syntax-highlight"]
path = assets/syntaxes/02_Extra/typst-syntax-highlight
url = https://github.com/hyrious/typst-syntax-highlight

@ -0,0 +1 @@
Subproject commit 1bde1ea511d86c622a0fd27d9e0db3e047d4094f

View File

@ -0,0 +1,28 @@
#set text(9.5pt)
= Heading
- Bullet 1
- Bullet 2
- Bullet 3
+ List 1
+ List 2
+ List 3
#figure(
 table(
 columns: (auto, auto),
 table.header(
 [Name], [Age],
 ),
 [John], [50],
 [Jane], [48],
 ),
 caption: [People],
)
```python
dev foo():
 print("hi")
```

View File

@ -0,0 +1,28 @@
#set text(9.5pt)
= Heading
- Bullet 1
- Bullet 2
- Bullet 3
+ List 1
+ List 2
+ List 3
#figure(
table(
columns: (auto, auto),
table.header(
[Name], [Age],
),
[John], [50],
[Jane], [48],
),
caption: [People],
)
```python
dev foo():
print("hi")
```