added markdown editing support