Default language for code blocks

I like the idea of having the ability to set a default language for code block.

In the interim, you can add this command to your config.edn and them use that every time you need to add a code block for kotlin

 :commands [
     ["kotlin" [[:editor/input "```kotling\n\n```" {:backward-pos 4}]]]

How do I use it?

  • use the slash command: /kotlin

I hope this helps a bit :slight_smile:

2 Likes