We mentioned LaTeX templates in Section 6.10 . You can also specify a custom HTML template for Pandoc to convert Markdown to HTML. Below is a brief example template: <html> ...
With the includes option of the html_document format (or any other formats that support this option), you can include the content of an existing HTML file in the HTML output doc...