platformer / typst-algorithms

MIT License
141 stars 4 forks source link

`code` only recognizes `raw` text that is in a `sequence` #7

Closed emilyyyylime closed 1 year ago

emilyyyylime commented 1 year ago

This works:

code[

code here

]

But these examples don't:

code[```
code here
```]
code(body: raw(...))

Passing a raw block directly rather then a sequence containing it should be supported

platformer commented 1 year ago

Thanks for reporting this! Fixed by 5e17cf3d75abb359d35c180b08be151a6389be64