tinymist
tinymist copied to clipboard
[VSCode] Support drag and drop of files (pdf and images) into the typst editor
Motivation
Writing function to include images etc. is tiresome.
Description
VSCode allows to transform the drag and drop behavior for different file types into the code editor. The markdown extension already supports this:
- You can take a image file and drag it with your mouse into a markdown file.
- The text that is pasted into the markdown file then becomes the correct markdown code to include the image.
- For more information see here
It would be amazing if we could have this feature for typst as well.
For example to drag an image into a typst file results in:
#image("path_to_image.jpg")
Or dragging a typst file into another typst file results int:
#include "path_to_typst_file.typ"