quarto-dev / quarto-dev/quarto

Slide counter in editor status bar for revealjs presentations

Open
#975 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement vscode
Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Quarto VS Code extension's editor status-bar integration for active revealjs .qmd files, and determine how the extension identifies those documents. Implement an updating indicator that counts level-1 and level-2 headings, then verify that the displayed total changes as the file is edited.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.