Doing Data Science 2021
Per GitHub documentation, toc_float
does not work with prettydoc
.
This customized theme, mainly based on Architect,
combines beautiful typography with a floating table of contents.
- Install package
prettydoc
in R. - Add
moriwx.html
toRPATH\library\prettydoc\resources\templates
. - Add
moriwx.css
andmoriwx.min.css
toRPATH\library\prettydoc\resources\css
. - Code at the preamble of
.Rmd
file as following:
output:
prettydoc::html_pretty:
theme: moriwx
highlight: github
toc: TRUE