tinymist
tinymist copied to clipboard
Preview: Open linked file with system default app
I would like to use this code for including images in typst:
#let debug = true
#let my_image(filename, ..args) = {
image(filename, ..args)
if debug {
link(filename)[#underline[#"Open "#filename]]
}
}
#my_image("test.svg")
In Acrobat Reader I can click the debug link and my default SVG editor (i.e. Inkscape) opens the file for me to edit. In VS Code preview this unfortunately does not work, funnily however mailto:test@test
does work.