Writing a custom injection for specific language #14953
Replies: 3 comments 4 replies
-
Also interested in overriding language syntaxes with custom highlighting |
Beta Was this translation helpful? Give feedback.
-
Hey, in my job I work in typescript, where we use both an ORM and raw queries for our DB. I could add it to the language injections file, but I think it's not something that should be in the base language injections.scm file as it might not be something that everyone is interested in. Is it possible to add to a language injections without registering a new grammer/language? I'm currently AFK but when I have the chance I'll try writing it naively and see if it works. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to write a custom injection language to another language? For example, in Elixir, I want to injecting Markdown syntax into
moduledoc
to highlighting documentation in the code.Beta Was this translation helpful? Give feedback.
All reactions