Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing variable in templates regarding toc #127

Merged
merged 8 commits into from
Sep 23, 2021
Merged

Add missing variable in templates regarding toc #127

merged 8 commits into from
Sep 23, 2021

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Sep 23, 2021

This will partly bring support for #123 by updating the template and adds the same argument variable than in html_document()

We can deal with the default value to set in another PR

This means that this will now work

---
title: "Untitled"
output: 
  revealjs::revealjs_presentation: 
    toc: true
toc-title: outline
---

## Slide 1

Content

## Slide 2

Content
  • A title to the toc will be added
  • TOC slide can be styled using id #TOC selector
  • TOC title can be styled using id #toc-title
  • Templates is up to date with pandoc one on this.

@cderv cderv changed the title Add missing variable in templates Add missing variable in templates regarding toc Sep 23, 2021
@cderv cderv merged commit aa008e4 into master Sep 23, 2021
@cderv cderv deleted the pandoc-toc branch September 23, 2021 14:52
cderv added a commit that referenced this pull request Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant