R Markdown Html



  1. R Markdown Html Style
  2. R Markdown Html Margins

Using the R Markdown format with toc_float: TRUE, I would like to add side notes. In a previous question, two solutions were given:

HtmlR Markdown HtmlMarkdown
  • Use Tufte Handout.
  • Use html elements with the standard R Markdown.

R Markdown supports dozens of static and dynamic output formats including HTML, PDF, MS Word, Beamer, HTML5 slides, Tufte-style handouts, books. Commonly used symbols in R Markdown.

R Markdown Html Style

The second solution, that uses standard R Markdown, does not properly render the side note at the side. It's simply aligns the the note to the right, but interferes with the other text. This is especially true with toc_float: TRUE.

R Markdown Html Margins

Is there a solution to this? Having both the floating TOC on the left and side notes on the right?