added markdown functionality