Change Markdown to .txt and add plugin functionality