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

How to Add Title for Table of Contents #20

Closed
steveb-cirina opened this issue Mar 18, 2020 · 1 comment
Closed

How to Add Title for Table of Contents #20

steveb-cirina opened this issue Mar 18, 2020 · 1 comment

Comments

@steveb-cirina
Copy link

@steveb-cirina steveb-cirina commented Mar 18, 2020

Is there a way to add a title for the table of contents using prettydoc ?

Something like the following below where the toctitle (assuming this is the YAML variable for this example) is set to Contents:

Contents

  • Item 1
  • Item 2
@yixuan
Copy link
Owner

@yixuan yixuan commented May 12, 2020

Hi @steveb-cirina, this feature has been added in the development version of prettydoc. See the example here: https://github.com/yixuan/prettydoc/blob/master/vignettes/cayman.Rmd.

Right now this option is only supported in the cayman and architect themes, and I will add it for other themes too when I get some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.