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
When authoring revealjs presentations in a
.qmdfile, there is no way to seethe 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
.qmddocument. It could show something like
Slides: 12based on counting level-1(
#) and level-2 (##) headings, updating as the file is edited.Why it's useful:
Workaround today: Manually counting headings via terminal:
grep -cE "^#{1,2} " presentation.qmd