Created markdown conversion method