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.

markdown: Add LaTeX syntax highlighting injection (#41110)

Luke Naylor5a9b810aef5f
diff --git a/crates/languages/src/markdown-inline/injections.scm b/crates/languages/src/markdown-inline/injections.scm
new file mode 100644
index 00000000000..074b08fd874
--- /dev/null
+++ b/crates/languages/src/markdown-inline/injections.scm
@@ -0,0 +1,2 @@
+((latex_block) @injection.content
+ (#set! injection.language "latex"))