Doc to md