quarto-dev / quarto-dev/quarto-cli

RevealJS `reference-location: section` does not number correctly

Open
#8,545 6 comments 0 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Feb 1, 2024.

bug revealjs
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/8534
---
title: test
format:
  revealjs:
    center: true
reference-location: section
---

## Slide 1

- bullet one
- bullet two^[first footnote]
- This is the third bullet

## Slide 2

more test text here^[second footnote]

This leads to wrong numbering
image

Either this is an issue, or we should just disallow reference-location: section as I am not sure it makes sense in revealjs context

For context, we do special processing for footnotes in format-reveal.ts when not set to document level. So probably there to handle it correctly.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.