jneug / typst-codelst

A typst package to render sourcecode
MIT License
79 stars 4 forks source link

Allow multiple raw blocks #2

Open jneug opened 11 months ago

jneug commented 11 months ago

The content argument for #sourcecode is searched for the first raw element and everything else is ignored.

The function could take all raw elements and render them together in the following manner:

As an addition, maybe even other content could stay intact, to add comments between code blocks.