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

Progressive Reveal for Topics at Level 2 Header ## #798

Open
katieravenwood opened this issue Sep 20, 2023 · 0 comments
Open

Progressive Reveal for Topics at Level 2 Header ## #798

katieravenwood opened this issue Sep 20, 2023 · 0 comments

Comments

@katieravenwood
Copy link

I've been writing business tutorials lately that require that all sections of content are completed before receiving a certification and generating an output of documents on the last page.

It would be great to be able to use progressive reveal at the topic level so that the Level 2 headers aren't revealed in the table of contents until the previous topic's subtopics have been completed so no one just skips to the end and generates the completion certificate without going through the previous tutorial steps!

Enabled for the whole document as:

---
title: "business tutorial"
output:
  learnr::tutorial:
    theme: "flatly"
    progressive-topic: true
    allow-topic-skip: true
runtime: shiny_prerendered

And enabled or disabled for specific topics:

## Topic { data-progressive-topic: true }
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

No branches or pull requests

1 participant