是否有可能在Rmd文档中包含数字列表?现在,我的yaml标头看起来像这样,但是我不知道如何添加数字列表。\figureslift
似乎不起作用。
---
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
---
原则上,您可以将lof: yes
添加到YAML标头中。但是,根据pandoc manual,仅LaTeX和ConTeXt后端支持这些参数。因此,这适用于使用LaTeX的bookdown::pdf_document2
,但不适用于bookdown::html_docuemnt2
。
pandoc的问题跟踪器中有一个request,它还添加了对其他后端的LoF / LoT / ...支持。但是,似乎没有人承担起(相当复杂的)任务。