convert markdown file to minimal html file