-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Before you start
- You've headed over to
tinymist and can confirm that
the issue does not exist with the VS Code plugin for
tinymist.
Describe the bug
Currently I am working on a file and have to display some figures. These figures are in a different subdirectory of the main project directory with respect to the file I'm editing.
When I open the preview I get nothing.
Checking LspLog only shows that the compilation was successful.
Moving the images in the same folder as the file fixes the problem, so I guess is a path issue.
Looking at the tinymist github page I found a proposed solution by changing the root_dir variable, but that did not fix the issue. Looking at typst-preview config.
I saw it automatically checks for a typst.toml file, so I created one in the root project folder, but still no preview. Checking the tinymist config with the file open shows that the workspace variable is set to the correct path (root project directory).
Any idea what may cause this/how can I solve this problem?
Expected behavior
Live preview working for multi-files/multi-folders projects
Desktop (please complete the following information):
- Ubuntu via WSL2