quarto-dev / quarto-dev/quarto-cli

Sections/Parts custom cross-reference

Open
#8,080 3 comments 2 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Jan 1, 2024.

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

Description

Currently it is not possible to define custom cross-reference for sections.

Initially from https://github.com/quarto-dev/quarto-cli/discussions/4581#discussioncomment-7967093

---
title: "My Paper"
format: html
crossref:
  custom:
    - kind: float
      key: suppsec
      reference-prefix: Supplement
---

To keep this paper short, see @suppsec-details for more details.
For even more information, see @suppsec-information.

## Details {#suppsec-details .appendix}

Here are fascinating tidbits.

## Information {#suppsec-information .appendix}

Even more fascinating tidbits!

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.