Slide counter in editor status bar for revealjs presentations

Offen
#975 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
typescript, vscode
Bereich
tooling

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement vscode

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
Vorherrschende Sprache
TypeScript
Sterne
660
Forks
64
Ø Merge
1 T. 14 Std.
Gemergte PRs (30 T.)
15

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus quarto-dev/quarto

Alle Issues in quarto-dev/quarto

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.