Skip to content

Crossrefs in revealjs link incorrectly #306

@KeAWang

Description

@KeAWang

Consider crossrefs.qmd:

---
title: "Title"
author: "Author"
date: "Today"
format: revealjs
---

## Equation 1

See @eq-equivalence2 on the next slide.
$$ E = mc^2 $$ {#eq-equivalence1}


## Equation 2

See @eq-equivalence1 on the previous slide.
$$ E = mc^2 $$ {#eq-equivalence2}

and run quarto render crossrefs.qmd.

The links given by cross refs are to crossrefs.html#/eq-equivalence1 and crossrefs.html#/eq-equivalence2 which don't exist as slides. Clicking on them results in returning to the title slide. Instead I think some logic needs to be there to link to the slide containing the target reference, i.e. crossrefs.html#/equation-1 and crossrefs.html#/equation-2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions