Kusto KQL support

Hi all, first post here so be kind.

Long story short I want to use the KQL query language in a note taking app called Obsidian. Obsidian uses CodeMirror 6 for its Markdown editor within the application.

I work with KQL daily and would like to have my KQL blocks of code highlighted within the application. Since this is not a supported language within CodeMirror, I would like to see if I can create a custom language package for KQL.

Can anyone let me know of this is a feasible task and point me in the right direction on were to get started.

Thank you.

The docs you’ll want to look at are here. Do note that you’d still need to somehow convince Obsidian to bundle such a language mode in their system (unless they allow you to include it through a plugin or something like that, I’m not that familiar with Obsidian).

Awesome, thank you Marijn. My plan is to go the plugin route.