A simple text editor for markdown-like syntax