switch rdoc to md