a simple Markdown to BBCode parser. based