I don’t know if this is possible at all, but for example in Obsidian I am able to select a word or sentence and then hit the backtick to automatically surround the word or sentence with a backtick (or 3 backticks for code).
Would this possible to implement here? I find myself trying this quite often, because of my extensive use of it in Obsidian.
Sorry, you can’t. But you can select piece of text and then open the cog from toolbar and choose the first one (mine speaks Finnish… is it preformatted or something) and then it uses one tick inline and three ticks for a chapter.
Matter of taste, but adding ticks using old way is much more faster.
There’s a single button (and shortcut) for both preformatted text types.
If you haven’t selected any text, it will create an inline code.
If your selection is no more than 1 line, it will create an inline code.
If your selection contains a line break, it will create a code block.
As far as I know, and unfortunately, not from the interface.
See: