Skip to content

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

@katieravenwood

Description

@katieravenwood

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 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions