ISC-HEI / isc-hei-report

A typst template for reports in the ISC @ HEI curricula
https://isc.hevs.ch
MIT License
6 stars 2 forks source link

Example for code inclusion in the template itself in appendix #5

Closed pmudry closed 2 weeks ago

pmudry commented 2 weeks ago

Comment and add as example

#let text = read("test.scala")
#figure(
    sourcecode()[
      #raw(text, lang: "scala")
    ],
  caption: "Code included from the file test.scala, which is cool"
)