Hi everyone!
I just published Calepin, a new app for computational notebooks and literate programming in Typst.
I would absolutely love it if you could take a look and share thoughts and bug reports.
https://vincentarelbundock.github.io/calepin/
Calepin scans the .typ file for code to execute: raw blocks or inline code. It runs each chunk through language-appropriate engines, and injects the evaluated output back at its original call site during compile time.
Calepin now supports Python, R, Julia, Bash, Mermaid, Dot, TikZ, and D2 chunks.
It also comes with IDE extensions for VS Code and for the VSX marketplace (Cursor, Positron, etc.).
Since notebooks are just plain .typ files, they look very familiar:
#import ".calepin/calepin.typ"
#let py = calepin.inline.with("python")
#calepin.setup(eval: true, echo: true)
A raw python code block gets executed and rendered:
```python
x = 41
print(x + 1)
```
And some inline computation too: #py[`print(40 + 2)`].
Please let me know what you think!
Vincent

