tweak markdown text conversion