feat: add markdown view component

This commit is contained in:
2026-11-06 17:04:56 +07:00
parent e8e1cb39e0
commit 310cad32be
9 changed files with 1957 additions and 13 deletions
Generated
+19
View File
@@ -1912,8 +1912,10 @@ version = "0.1.0"
dependencies = [
"gpui",
"gpui-native-core",
"gpui-native-icons",
"gpui-native-theme",
"gpui-native-utils",
"pulldown-cmark",
"similar",
"tree-sitter",
"tree-sitter-javascript",
@@ -4235,6 +4237,17 @@ dependencies = [
"syn 3.0.9",
]
[[package]]
name = "pulldown-cmark"
version = "0.13.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3db2be46835f013dd3f4fa7f5f7402c537787b54ebb6fe2b94bbdd7e2669bb7b"
dependencies = [
"bitflags 2.13.2",
"memchr",
"unicase",
]
[[package]]
name = "pulp"
version = "0.22.3"
@@ -5978,6 +5991,12 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
[[package]]
name = "unicase"
version = "2.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "357cc3acc6a036009fd6c973ed009037c732d60d0b4f6c673e9041497482a28f"
[[package]]
name = "unicode-bidi"
version = "0.3.18"