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
prettydocin R. - Add
moriwx.htmltoRPATH\library\prettydoc\resources\templates. - Add
moriwx.cssandmoriwx.min.csstoRPATH\library\prettydoc\resources\css. - Code at the preamble of
.Rmdfile as following:
output:
prettydoc::html_pretty:
theme: moriwx
highlight: github
toc: TRUE