Skip to content

Slide counter in editor status bar for revealjs presentations #975

@m20l22

Description

@m20l22

When authoring revealjs presentations in a .qmd file, there is no way to see
the total slide count without rendering the document. Tools like PowerPoint
display a live slide count in the UI, which helps authors track presentation
length during editing.

Request: Add a slide count indicator to the VS Code / Positron editor status
bar (or the Quarto VS Code extension) when the active file is a revealjs .qmd
document. It could show something like Slides: 12 based on counting level-1
(#) and level-2 (##) headings, updating as the file is edited.

Why it's useful:

  • Quickly assess presentation length without rendering
  • Helps keep presentations within time/slide constraints
  • Analogous to word count for document formats

Workaround today: Manually counting headings via terminal:

grep -cE "^#{1,2} " presentation.qmd

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions