Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Allow wrapping markdown text into `*` by selecting text and writing the `*` (#37426)

Kirill Bulatov8d5861322bba
diff --git a/crates/languages/src/markdown/config.toml b/crates/languages/src/markdown/config.toml
index 926dcd70d9f..36071cb5392 100644
--- a/crates/languages/src/markdown/config.toml
+++ b/crates/languages/src/markdown/config.toml
@@ -12,6 +12,7 @@ brackets = [
{ start = "\"", end = "\"", close = false, newline = false },
{ start = "'", end = "'", close = false, newline = false },
{ start = "`", end = "`", close = false, newline = false },
+ { start = "*", end = "*", close = false, newline = false, surround = true },
]
rewrap_prefixes = [
"[-*+]\\s+",