Clean RMarktdown Template with toc

Hello,

I've only been working with RMarkdown for a short time. I have also created some HTMLs.

What I'm looking for now is a style sheet that is very "clean" with the table of contents displayed on the left. Do you have an idea?

This is exactly what I'm looking for:
https://holtzy.github.io/Pimp-my-rmd/

The problem is that I don't get the package installed because it doesn't seem to be an official package.

What works for me is the following package, but I don't like the templates.

Thanks and I'm looking forward to your tips!

You find the template used in your example as a package here, as well as how to install it and use it. Are you saying you can't use it because it's not a CRAN package?

I was able to solve the problem. The problem was the function install_github from devtools. There I first had to execute the following statement:

Sys.setenv("TAR" = "internal")

And now it works fine!

Of course I am still interested in other templates. I find one very simpl but interesting layout but without code:
https://rstudio-pubs-static.s3.amazonaws.com/355718_3f5fab76d9e84e03a401b33cb0a43557.html#training_our_model

Do you have idea how can I get this?

1 Like

I have just found a suitable and working example.


title: "TITLE"
author: "NAME"
mail: "mail@mail"
output:
html_document:
code_folding: hide
toc: true
toc_float: true
theme: united

1 Like

I believe that layout can be achieved by specifying a floating TOC, which you've already figured out. This section in the R Markdown book taught me a lot about how I can modify the html document to make it better.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.