* add codeblock support for prompt replies and historical messages add markdown-it * Fix spacing for HTML rendering