【发布时间】:2016-01-13 21:13:00
【问题描述】:
我正在使用 knitr 使用 Rstudio 创建演示文稿,并且我想使用幻灯片的类型在开头生成目录幻灯片。所以如果我有以下代码:
Some fun lecture
========================================================
author: some guy
date: in the future
Table of content slide
========================================================
Here I want the table of content based on the following slide types
Some stuff 1
========================================================
type:section
Some very important stuff
More detail on stuff 1
========================================================
type:subsection
Did not get enough of stuff 1!? Here is more :D
Stuff 2
========================================================
type:section
There are other kinds of stuff?
Prompt slide
========================================================
type:prompt
Do not display prompt or alert types in TOC
所以基本上我想要在标题幻灯片之后的目录幻灯片看起来像:
- 一些东西 1
- 关于内容 1 的更多详细信息
- 东西 2
这是默认可用的还是我需要一些额外的 CSS 样式来处理这个?
【问题讨论】:
标签: r shiny knitr r-markdown