This RMarkdown output format is designed to generate markdown that is maximally compatible with Hugo. It intelligently generates a preview so that you see something useful when Hugo isn't running, but it doesn't get in the way of hugo's full-site preview when it is.
md_document( fig_width = 7, fig_asp = 0.618, fig_retina = 2, tidyverse_style = TRUE )
Figure width (in inches).
Figure aspect ratio, defaults to the golden ratio.
Scaling to perform for retina displays. Defaults to
Use tidyverse knitr conventions? This sets
md_document() uses a hybrid system for syntax highlighting.
For R code it uses downlit. For
other languages, it relies on Chroma, the syntax highlighter built into