core: fix heading in MarkdownInput

Status Job ID Name Coverage
  Test
passed #1940
black

00:02:02

passed #1939
test

00:11:31

60.0%