Skip to content

Commit c334bd3

Browse files
committed
Add a test for typst rendering of code block
1 parent 99d17df commit c334bd3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
format: typst
3+
---
4+
5+
This is an inline code `x + 1`
6+
7+
And this is a code block
8+
9+
```
10+
1 + 1
11+
```
12+
13+
Now with lang attributes
14+
```r
15+
1 + 1
16+
```
17+
18+
also inline `<div>`{.html}
19+
20+
This is also suppose to work `#raw("x + y")`{=typst}

0 commit comments

Comments
 (0)