Moved markdown parsing to client. Closes #288.