hacked a fix for markdown not rendering properly