Enter-tainer / typst-preview

[DEPRECATED] Use tinymist instead
https://Enter-tainer.github.io/typst-preview/
MIT License
452 stars 21 forks source link

Support Preview in Separate Window? #263

Closed SchrodingerZhu closed 3 months ago

SchrodingerZhu commented 4 months ago
image

Currently, preview does not work in separate window. This harms the experience of using Typst preview with multiple displays.

Enter-tainer commented 4 months ago

https://enter-tainer.github.io/typst-preview/vscode.html

preview in browser

Myriad-Dreamin commented 4 months ago

See that in readme.

Open in browser: open the preview in browser, so you put it in another monitor.

Should we highlight it furthermore? I feel there are quite many people asking for that without aware of the description about "Open in browser".

SchrodingerZhu commented 4 months ago

Hi, all,

Thank you for the following up.

I think I have put the question wrongly. I just want to mention that the preview session cannot be in a separate window split by vscode. Is it possible to support that? (Maybe it is disabled by vscode itself.)

Enter-tainer commented 4 months ago

i think it is vscode's limitation. currently it seems that it doesnt support dragging a webview into another window

Enivex commented 3 months ago

As a heads up, I believe this will be resolved with version 1.88 of vscode.

Enter-tainer commented 3 months ago

As a heads up, I believe this will be resolved with version 1.88 of vscode.

It there an upstream tracking issue for this? I've searched before but I didn't find one

Enivex commented 3 months ago

As a heads up, I believe this will be resolved with version 1.88 of vscode.

It there an upstream tracking issue for this? I've searched before but I didn't find one

https://github.com/microsoft/vscode/issues/195715

Enter-tainer commented 3 months ago

It's supported in latest vscode now. image