Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add option to preview whichever file is open on the source pane #298

Open
jiwonac opened this issue Jun 8, 2024 · 1 comment

Comments

@jiwonac
Copy link

jiwonac commented Jun 8, 2024

Feature Request

Suppose you are previewing foo.typ. I want to be able to quickly preview bar.typ by clicking on the bar.typ source code.

Use Case

I have a project where I have several typst files that produce separate PDF files. I would like to be able to switch between the different files quickly. This behavior is similar to how Markdown Preview Enhanced works.

@Enter-tainer
Copy link
Owner

I agree this sounds useful in your case but typst-preview works very different from markdown preview. It is much more heavy than that. Namely, each preview panel need a preview server, and each sever launch multiple threads and typst compiler.

Another thing is that not all typst source file is preview-able. So user may see a lot of empty panel when editing these files. This can be unexpected for certain cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants