preparing markdown