With the introduction of the Typst Playground, would it be possible to have a way for a user to, for example, post a code snippet on the forum and either:
having the result displayed within the post next to the code snippet, or
providing a link that could open that code snippet in the playground?
I guess a secondary question would be: Is there a way to pass some Typst code to the Typst via the URL?
I don’t think it’s possible yet. Or it’s not public. If it was, there would’ve been a share button or real-time URL update when you edit content (fat URL).
But I also want this. Otherwise, you have to separately share a block of code and someone must copy it, open the link, select all, paste.
I’m also pretty sure this is a “yet”. This is from shortly after the release on Discord:
But keep in mind that major playground improvements (including forum integration) are probably way lower on the priority list than most language and web app features.