Is there any possibility to include a list of figures in my Rmd-Document?
Right now my yaml-header looks like this, but I have no clue of how to include a list of figures.
The \figureslift
doesn't seem to work.
---
title: ""
author: ""
output:
bookdown::html_document2:
#css: styles.css
fig_caption: yes
theme: flatly
toc: yes
toc_depth: 1
bibliography: lib.bib
link-citations: yes
figurelist: yes
---
And in the body file I thought about something like this to produce a list of figures.
{r figure1, fig.cap="Sine Plot", fig.align='center'}
x = seq(1,10, by = 0.1)
y = sin(x)
plot(x, y, main = "title")
See figure @ref(fig:figure1)
\listoffigures