Implemented basic Markdown functionality, with sanitization