better debugging
allow None as markdown string
cleanup