mirror of
https://github.com/typst/typst
synced 2025-05-16 18:15:29 +08:00
21 lines
339 B
XML
21 lines
339 B
XML
// Issue 3841 Tab chars are not rendered in raw blocks with lang: "typ(c)"
|
|
// https://github.com/typst/typst/issues/3841
|
|
|
|
#raw("#if true {\n\tf()\t// typ\n}", lang: "typ")
|
|
|
|
#raw("if true {\n\tf()\t// typc\n}", lang: "typc")
|
|
|
|
```typ
|
|
#if true {
|
|
// tabs around f()
|
|
f() // typ
|
|
}
|
|
```
|
|
|
|
```typc
|
|
if true {
|
|
// tabs around f()
|
|
f() // typc
|
|
}
|
|
```
|