Aggiungere un indice

Reportistica con R Markdown

Amy Peterson

Head of Core Curriculum at DataCamp

Indice

File Markdown con indice

File compilato con indice

Reportistica con R Markdown

Profondità TOC

File Markdown con profondità TOC 2

File compilato con profondità TOC 2-

Reportistica con R Markdown

Numerare le sezioni

File Markdown con toc, toc_depth e number_sections

File compilato con toc, toc_depth e number_sections

Reportistica con R Markdown

Numerare le sezioni

File Markdown con intestazioni con due e tre cancelletto

File compilato con toc, toc_depth e number_sections

Reportistica con R Markdown

TOC flottante

File Markdown con toc, toc_depth e toc_float

Creazione di un file HTML con toc_float

Reportistica con R Markdown

TOC flottante: collapsed

File Markdown con toc, toc_depth e toc_float con collapsed false

Creazione di un file HTML con toc_float con collapsed false

Reportistica con R Markdown

TOC flottante: smooth scroll

File Markdown con toc, toc_depth e toc_float con collapsed false e smooth_scroll false

Creazione di un file HTML con toc_float con collapsed false e smooth_scroll false

Reportistica con R Markdown

Riepilogo

  • toc
  • toc_depth
    • Predefinito HTML: 3
    • Predefinito PDF: 2
  • number_sections

HTML

  • toc_float
    • collapsed
    • smooth_scroll
Reportistica con R Markdown

Esercitiamoci!

Reportistica con R Markdown

Preparing Video For Download...