formatter: improve formatting
markdown: add kramdown support