Closes #21992 <img width="1406" height="1184" alt="Screenshot 2025-08-21 at 18 09 24" src="https://github.com/user-attachments/assets/5f14a0d8-c4d9-48ad-b10d-fadfaca258ea" /> Code example: ```markdown # Html Tag <img src="https://picsum.photos/200/300" alt="Description of image" /> # Html Tag with width and height <img src="https://picsum.photos/200/300" alt="Description of image" width="100" height="200" /> # Html Tag with style attribute with width and height <img src="https://picsum.photos/200/300" alt="Description of image" style="width: 100px; height: 200px" /> # Normal Tag  ``` Release Notes: - Markdown: Added HTML `<img src="/some-image.svg">` tag support
40 lines
827 B
TOML
40 lines
827 B
TOML
[package]
|
|
name = "markdown_preview"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/markdown_preview.rs"
|
|
|
|
[features]
|
|
test-support = []
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-recursion.workspace = true
|
|
collections.workspace = true
|
|
editor.workspace = true
|
|
fs.workspace = true
|
|
gpui.workspace = true
|
|
html5ever.workspace = true
|
|
language.workspace = true
|
|
linkify.workspace = true
|
|
log.workspace = true
|
|
markup5ever_rcdom.workspace = true
|
|
pretty_assertions.workspace = true
|
|
pulldown-cmark.workspace = true
|
|
settings.workspace = true
|
|
theme.workspace = true
|
|
ui.workspace = true
|
|
util.workspace = true
|
|
workspace-hack.workspace = true
|
|
workspace.workspace = true
|
|
|
|
[dev-dependencies]
|
|
editor = { workspace = true, features = ["test-support"] }
|