hello! Not answering your question but if you are looking to get the source/preview jump from Typst’s web IDE, there exists a preview feature in tinymist which does that. Clicking on source leads you to that location in the preview, and vice-versa.
See also: