rdoc to md