Restricted list (un)indenting to the markdown syntax.

Thanks to @vovkkk for patiently pointing this out.