Skip to content

dev-docs: on Pandoc update, verify quarto-dev/quarto roundtrip snapshots#14726

Merged
cderv merged 1 commit into
quarto-dev:mainfrom
cderv:dev-docs-pandoc-update-check-quarto-snapshots
Jul 24, 2026
Merged

dev-docs: on Pandoc update, verify quarto-dev/quarto roundtrip snapshots#14726
cderv merged 1 commit into
quarto-dev:mainfrom
cderv:dev-docs-pandoc-update-check-quarto-snapshots

Conversation

@cderv

@cderv cderv commented Jul 24, 2026

Copy link
Copy Markdown
Member

Description

Documentation-only change to dev-docs/.

When Quarto bumps its bundled Pandoc, Pandoc Markdown-writer changes can alter the
visual-editor roundtrip output in the quarto-dev/quarto tooling repo and break its
snapshot tests — but nothing in our Pandoc-update process points that out, so it's only
discovered when the next prerelease turns those tests red.

This happened with the 3.8.3 → 3.10 bump: display math went back to multi-line
(reverting jgm/pandoc#11384) and definition-list indentation changed, breaking the
roundtripped-*.qmd snapshots. See the companion fix in quarto-dev/quarto.

This PR adds a step so future updates catch it up front:

  • dev-docs/update-pandoc-checklist.md — new item under Manual steps (the checklist
    the quarto-bld update-pandoc tool tells you to complete): verify quarto-dev/quarto
    roundtrip snapshot tests on the next prerelease, and open a companion PR to regenerate
    affected snapshots — after confirming each change is intended Pandoc behavior and not a
    transient regression (a bad snapshot can freeze a bug — see Fix failing tests after Quarto 1.9 release quarto#944).
  • dev-docs/cross-project-dependencies.md — note that bumping Pandoc counts as
    "touching a shared surface," cross-linked to the checklist.

No code or user-facing behavior changes.

Checklist

I have (if applicable):

  • referenced the GitHub issue this PR closes — n/a
  • updated the appropriate changelog in the PR — n/a (internal dev-docs only)
  • ensured the present test suite passes — n/a (docs only)
  • added new tests — n/a
  • created a separate documentation PR in Quarto's website repo — n/a (developer docs, not user docs)
AI-assisted PR
  • AI tool used: Claude Code
  • Codebase grounding: local clones of quarto-cli and quarto-dev/quarto; verification against real Pandoc 3.6–3.10 binaries; DeepWiki MCP for pointers
  • Human review: I have reviewed, tested, and verified the content before submitting.

Pandoc Markdown-writer changes (e.g. display-math newline handling,
list/definition-list indentation) alter the visual-editor roundtrip
output in quarto-dev/quarto and can break its snapshot tests on the next
prerelease. Add a checklist item to update-pandoc-checklist.md pointing
to that verification, and cross-link it from cross-project-dependencies.md.
@posit-snyk-bot

posit-snyk-bot commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cderv
cderv merged commit fd6a6ea into quarto-dev:main Jul 24, 2026
2 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants