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.

Add syntax injections for Markdown fenced code blocks

Antonio Scandurraf086fa3f21e5
diff --git a/crates/zed/src/languages/markdown/injections.scm b/crates/zed/src/languages/markdown/injections.scm
new file mode 100644
index 00000000000..577054b4040
--- /dev/null
+++ b/crates/zed/src/languages/markdown/injections.scm
@@ -0,0 +1,4 @@
+(fenced_code_block
+ (info_string
+ (language) @language)
+ (code_fence_content) @content)