Better code input experience

Hello, everyone! I’m a programmer and will input many code snippets in Logseq. However, I find the code input experience is annoying. To make a python code block, I have to:

  1. type ```python\n``` (\n is a notion for new line)
  2. press enter or esc to make LogSeq parse the python block.
  3. I think it’s the most annoying step, I have to switch to the mouse to click the code block. If I just press up arrow, It shows the unparsed text instead.

Possible improvement:

I think the above three steps can be fused into one. When the user types ```python\n```, Logseq can automatically parse it and set the cursor focused on the parsed input box: