to convert markdown into slideshow