added markdown parsing and viewing