Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Make Markdown images layout vertically instead of horizontally (#21247)
Mikayla Maki0c8e5550e7dc
diff --git a/crates/markdown_preview/src/markdown_renderer.rs b/crates/markdown_preview/src/markdown_renderer.rsindex 6140372e0bd..39bcd546dff 100644--- a/crates/markdown_preview/src/markdown_renderer.rs+++ b/crates/markdown_preview/src/markdown_renderer.rs@@ -417,6 +417,7 @@ fn render_markdown_paragraph(parsed: &MarkdownParagraph, cx: &mut RenderContext)cx.with_common_p(div()).children(render_markdown_text(parsed, cx)).flex()+ .flex_col().into_any_element()}