core: introduce new markdown input

To fix
* Avoid blinking in preview
* Don't insert stupid space on empty textarea
Status Job ID Name Coverage
  Test
passed #1908
black

00:02:09

passed #1907
test

00:11:57

60.0%