For code blocks such as
echo "Hello."
I often need to type three backticks.
Steps to reproduce
Type any number of backticks into the editor and while the last backtick is waiting for another character in order to produce something like à or è, press Enter or Escape.
Expected result
After typing three backticks and then pressing Enter, I want to start a new line so that I can begin filling the code block, in the above example, with echo "Hello.".
After typing three backticks and then pressing Escape I want the last backtick to stop waiting for a new character so that I can begin typing ad-note (for the Admonition plugin) and then press Enter, just as I would type the programming language, for example bash or python. Without pressing Escape after three backticks, I’d get two backticks followed by the character à instead of three backticks followed by a.
Actual result
In the case of pressing Enter after typing three backticks, I get a forth backtick which I then have to manually delete, instead of beginning a new line where I can type the content of the code block.
In the case of pressing Escape after typing three backticks, I get a forth backtick and also some sort of whitespace character, which I both have to delete manually.
Environment
- Obsidian version: 0.12.19
Additional information