zed icon indicating copy to clipboard operation
zed copied to clipboard

Preview tabs for rendered markdown, SVG, etc

Open naiyerasif opened this issue 1 year ago • 1 comments
trafficstars

Check for existing issues

  • [X] Completed

Describe the feature

I often work on markdown and SVGs and preview the outputs on an adjacent split tab in VSCode. Would be great if there's something similar on Zed as well so that I won't have to switch context to preview what I'm working on.

This feature can be potentially useful for many other languages as well, for example, AsciiDoc, HTML, Marp, d2, etc.

An associated API would be potentially useful for plugin writers in future who can build their own preview mechanisms for the language plugins they develop.

If applicable, add mockups / screenshots to help present your vision of the feature

Screenshot 2024-01-26 at 22 41 27

naiyerasif avatar Jan 26 '24 17:01 naiyerasif

yep. need this 😍

d1y avatar Jan 26 '24 18:01 d1y

Hey @naiyerasif, a PR just landed to introduce a markdown rendered view. I think it has some small defects here and there and images probably isn't supported yet, but the feature is largely here!

  • https://github.com/zed-industries/zed/pull/6958

Let's close this issue and open up new ones when we run into things that are missing with what has landed on main.

JosephTLyons avatar Feb 01 '24 19:02 JosephTLyons