-
Notifications
You must be signed in to change notification settings - Fork 21
add an option to enable automatically opening preview window #140
Comments
can you elaborate? |
Thanks for your screen recording. It's good to have this feature. But there is one thing I concern. A typst-preview tab is much more heavier than a markdown preview(you may refer to https://enter-tainer.github.io/typst-preview/arch.html if you are interested). So launching too much preview tab would become a problem. Another problem is that not all typst file is previewable, such as template files. opening preview for these files doesn't make sense |
link similar design issue nvarner/typst-lsp#285 |
Maybe it could be an option in .vscode/settings.json? something like "typst-preview.main": "main.typ",
"typst-preview.automatically-show": true where you specify the main file, this only makes sense in projects where only one file should be compiled. |
Just like the way
Markdown Preview Enhanced
behavesThe text was updated successfully, but these errors were encountered: