29.3 Documents
- There are several basic variations off HTML for generating different types of documents. To name a few, examples are:
pdf
makes a PDF with LaTeXdocx
for Microsoft Word (.docx) documents.gfm
for a GitHub Flavored Markdown (.md) document.ipynb
for Jupyter Notebooks (.ipynb).
format:
html:
toc: true #include table of contents
toc_float: true #make table of contents floating
pdf: default
docx: default
Note: use special syntax (i.e. pdf: default
) if you don’t want to override any default options.