Adapting doc to md format