Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 700 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 700 Bytes

DDS2021

Doing Data Science 2021

prettydoc

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.

How to use it

  1. Install package prettydoc in R.
  2. Add moriwx.html to RPATH\library\prettydoc\resources\templates.
  3. Add moriwx.css and moriwx.min.css to RPATH\library\prettydoc\resources\css.
  4. Code at the preamble of .Rmd file as following:
output:
  prettydoc::html_pretty:
    theme: moriwx
    highlight: github
    toc: TRUE