convert from rdoc to markdown