Markdown preview with html header/footer and utf-8 encoding.