Special Syntax
Linebreaks in a string
Use the pipe |
to add a line break in a string.
title: |
| The Main Title
| The subtitle
Converting to PDF
fontfamily: "Cormorant Garamond"
geometry: margin=3.5cm
header-includes: |
\usepackage{fancyhdr, bookmark}
\pagestyle{fancy}
Traditional Paragraph Indentation
header-includes: |
\setlength{\parindent}{4em}
\setlength{\parskip}{0em}
Font Example
fontfamily: "Cormorant Garamond"
fontsize: 12pt