I want to have a logo image insert to the header and make it in the right hand side of the file.
---
title: "My title"
header-includes:
- \usepackage{titling}
- \pretitle{\begin{center}\LARGE\includegraphics[width=2cm]{logo.png}}
- \posttitle{\end{center}}
output:
pdf_document
---
This is the output and what I expected:
Also, how to bold the text in the title chunk?