i agree, maybe what the editor can do is that detect that code block is being indented and keep the indentation until the closing backticks.
anyway, here’s my workaround to make it looks more in place (in case it helps u). i wrote the code block without bullet, and then just indent it (as many time as the bullet depth (first level - one tab, 2nd level - two tab)