added support for markdown in chat