mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-19 04:17:31 +02:00
Adds Typst syntax from hyrious/typst-syntax-highlight
This commit is contained in:
28
tests/syntax-tests/source/Typst/test.typ
vendored
Normal file
28
tests/syntax-tests/source/Typst/test.typ
vendored
Normal 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")
|
||||
```
|
Reference in New Issue
Block a user