convert markdown file to html to publish