Generate HTML document from Markdown