How can I export a Matlab live script to Typst?

Hi, welcome to this forum! I have edited your question title and category to follow our guidelines.

I don’t know a direct solution to your problem, but there are a few options for converting files such as Jupyter notebooks to Typst:

  1. Pandoc can take Word, HTML, Markdown, Jupyter notebooks, etc. and convert them to Typst. I don’t know how well it works.
  2. Quarto can also convert a Jupyter or Markdown file to Typst. It uses pandoc behind the scene but the output might be more polished than with raw pandoc.
  3. There’s GitHub - dermesser/typst_of_jupyter: Convert Jupyter notebooks to Typst source code (and then to PDFs) which might be useful for your use case.