quarto-dev / quarto-dev/quarto-cli

Resolve footnotes in data-qmd attributes for spans based on .qmd context

Open
#8,065 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement footnotes tables
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/8061

Originally posted by aborruso December 29, 2023

Description

Hi,
I'm trying to use [HTML tables](But on this it is better to hear what John thinks.), and I have this sample page (the code).

I have added a footnote using data-qmd, but it does not work, and I have the hard coded text in html output.

Am I doing something wrong?
Is it possible to use footnotes with RawBlock html tables?

Thank you

image

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.

Research direction

Start by reproducing the behavior with the linked small_table.qmd example and compare its HTML output, then read the discussion at github.com/quarto-dev/quarto-cli/discussions/8061 for context. Done means a footnote in a data-qmd attribute on a span inside an HTML table resolves using the surrounding .qmd context instead of remaining hard-coded text.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, markdown
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.