Improve markdown preview styles - #58465
Conversation
Closes zed-industries#58364 This PR adjusts heading and body text font size (mostly reducing them a bit), as well as colors (making the body text slightly darker than headings), and content separation, through adding a bottom border to headings until H3. | Before | After | |--------|--------| | <img width="2620" height="2044" alt="Screenshot 2026-06-03 at 5 01@2x" src="https://github.com/user-attachments/assets/d10c7916-e4cb-4999-8be1-08e26793fd35" /> | <img width="2622" height="2044" alt="Screenshot 2026-06-03 at 5 02@2x" src="https://github.com/user-attachments/assets/13105982-283d-436b-973e-b6198cd2503b" /> | Release Notes: - Improved markdown preview styles, making it more legible and easier to parse.
|
Thanks team. Preview 1.7.1 is much better! But please consider adding more spacing between paragraphs; after block-level items like ULs need more spacing too. The vertical rhythm is too tight. |
Follow up to zed-industries#58465 adding more breathing room between headings _and_ making inline code links use the `accent` text color. Release Notes: - N/A
Follow up to zed-industries#58465 adding more breathing room between headings _and_ making inline code links use the `accent` text color. Release Notes: - N/A
|
Yes line-height is way too compressed - please look at inspiration from projects like tailwind-typography which aims to have a good default set of styles for prose - including better vertical rhythm across the board. |
|
I see this adds a horizontal line (or perhaps a bottom border) after each heading. This is great for level 1 and 2 headings (# and ##), but it becomes too much for H3 and onwards. Please see GitHub's Markdown for example - https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax |
|
It really needs a proofreading from an actual designer. It feels to compact, not balanced, like reading the unformatted markdown. |
Closes zed-industries#58364 This PR adjusts heading and body text font size (mostly reducing them a bit), as well as colors (making the body text slightly darker than headings), and content separation, through adding a bottom border to headings until H3. | Before | After | |--------|--------| | <img width="2620" height="2044" alt="Screenshot 2026-06-03 at 5 01@2x" src="https://github.com/user-attachments/assets/d10c7916-e4cb-4999-8be1-08e26793fd35" /> | <img width="2622" height="2044" alt="Screenshot 2026-06-03 at 5 02@2x" src="https://github.com/user-attachments/assets/13105982-283d-436b-973e-b6198cd2503b" /> | Release Notes: - Improved markdown preview styles, making it more legible and easier to parse.
Closes zed-industries#58364 This PR adjusts heading and body text font size (mostly reducing them a bit), as well as colors (making the body text slightly darker than headings), and content separation, through adding a bottom border to headings until H3. | Before | After | |--------|--------| | <img width="2620" height="2044" alt="Screenshot 2026-06-03 at 5 01@2x" src="https://github.com/user-attachments/assets/d10c7916-e4cb-4999-8be1-08e26793fd35" /> | <img width="2622" height="2044" alt="Screenshot 2026-06-03 at 5 02@2x" src="https://github.com/user-attachments/assets/13105982-283d-436b-973e-b6198cd2503b" /> | Release Notes: - Improved markdown preview styles, making it more legible and easier to parse.
…rry-pick to preview) (zed-industries#59438) Cherry-pick of zed-industries#59291 to preview ---- Follow up to zed-industries#58465 adding more breathing room between headings _and_ making inline code links use the `accent` text color. Release Notes: - N/A Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
Follow up to zed-industries#58465 adding more breathing room between headings _and_ making inline code links use the `accent` text color. Release Notes: - N/A
Closes #58364
This PR adjusts heading and body text font size (mostly reducing them a bit), as well as colors (making the body text slightly darker than headings), and content separation, through adding a bottom border to headings until H3.
Release Notes: