typst diagrams and math input support

i explained it more in the past. But i think minimal support of bringing typst code rendering on canvas is enough, this can be done in two ways, either the code is saved to the .pixi metadata or imported from an external files

i think this is a simple feature to implement.