Add injection for markdown strings (#6489)

pull/6476/head^2
Clara Hobbs 2 years ago committed by GitHub
parent d04288e0f3
commit fc9229c846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,3 +26,9 @@
prefix: (identifier) @function.macro) @injection.content prefix: (identifier) @function.macro) @injection.content
(#eq? @function.macro "re") (#eq? @function.macro "re")
(#set! injection.language "regex")) (#set! injection.language "regex"))
(
(prefixed_string_literal
prefix: (identifier) @function.macro) @injection.content
(#eq? @function.macro "md")
(#set! injection.language "markdown"))

Loading…
Cancel
Save