convert ressource to md