zed icon indicating copy to clipboard operation
zed copied to clipboard

Render markdown in comments/doc comments

Open iamnbutler opened this issue 3 years ago • 5 comments

Basically, title. We can definitely do a better job rendering md than VSCode is doing here.

Zed:

CleanShot - 2022-07-07 at 11 53 30@2x CleanShot - 2022-07-07 at 11 53 48@2x CleanShot - 2022-07-07 at 11 55 49@2x CleanShot - 2022-07-07 at 11 58 26@2x

VSCode:

CleanShot - 2022-07-07 at 11 56 19@2x CleanShot - 2022-07-07 at 11 57 56@2x CleanShot - 2022-07-07 at 11 57 26@2x CleanShot - 2022-07-07 at 11 56 52@2x

iamnbutler avatar Jul 07 '22 15:07 iamnbutler

@iamnbutler I had this on my mind too. I was hesitating because I don't want to lose the current one-font approach, which is super slick. 😬

fdionisi avatar Jul 07 '22 17:07 fdionisi

@iamnbutler I had this on my mind too. I was hesitating because I don't want to lose the current one-font approach, which is super slick. 😬

We actually have two fonts 😁 Zed Mono and Zed Sans (which is quasi-proportional, it take up less space but looks similar for places that mono isn't needed to line everything up.)

iamnbutler avatar Jul 11 '22 19:07 iamnbutler

Ah! Didn't notice it at all. 😅

fdionisi avatar Jul 11 '22 19:07 fdionisi

Just came here to say that this is one of the significant gaps I feel compared to VS Code or Sublime. I'll also note that I would very much want this to be customizable to use specified fonts, a la the discussion at zed-industries/zed#5286: having it use the system native font and presentation would go a long way toward making Zed feel more native, and presenting it in a smaller size would go a long way toward improving the information density.

chriskrycho avatar Nov 08 '22 14:11 chriskrycho

I would like to work on this! were (more or less) should I look into @iamnbutler @JosephTLyons?

olrtg avatar May 08 '24 16:05 olrtg

I think this exists now? CleanShot 2024-10-03 at 13 38 21@2x

I'm going to close this, but @JosephTLyons feel free to re-open if that isn't correct for some reason.

iamnbutler avatar Oct 03 '24 17:10 iamnbutler