Docusaurus equations smoke test still skipped; pandoc 3.12.1 reintroduced single-line display math
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 46/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- javascript, markdown
Direção de pesquisa
Read tests/docs/smoke-all/2024/01/18/docusaurus/equations.qmd and its existing skip message, then compare the expected multiline $$ output in equations.mdx.snapshot with the behavior described for Pandoc 3.12.1 and later. Update the skip message to reference jgm/pandoc#12082; when a bundled Pandoc release fixes the regression, re-enable the smoke test and confirm the snapshot matches, or regenerate it if upstream keeps the single-line output.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
The docusaurus equations smoke test (tests/docs/smoke-all/2024/01/18/docusaurus/equations.qmd) has been skipped since 5fcbb59c (2026-01-08) with the note "fixed in pandoc@8123be6, awaiting release". That fix shipped in Pandoc 3.9, but the test was never re-enabled — and Pandoc 3.12.1 (now bundled as 3.13 via #15320) has reintroduced the same single-line display-math output that caused the breakage, this time on the reader side.
Details
- Original episode: Pandoc 3.7 collapsed multi-line
$$…$$to a single line in Markdown output (writer side). Reported in jgm/pandoc#11384, fixed in Pandoc 3.9 (jgm/pandoc@8123be65). We skipped the equations test in the meantime (5fcbb59c). - Regression: Pandoc 3.12.1 (3.12.0 unaffected) — jgm/pandoc@c248f880 ("Math: respect TeX groups and comments", jgm/pandoc#11887) unified display math into
mathWith, which appliestrimMathand strips the surrounding newlines the reader previously preserved. Undocumented in the changelog; still present in 3.13 and 3.14. - Already reported upstream: jgm/pandoc#12082. Maintainers agree it is a regression; a reader-side fix restoring verbatim whitespace capture for display math is the likely resolution.
So: re-enabling the test today would fail exactly as it did under Pandoc 3.7, and the skip message is stale ("awaiting release" — the referenced fix was released and later regressed).
Action items
- Update the
skipmessage intests/docs/smoke-all/2024/01/18/docusaurus/equations.qmdto reference jgm/pandoc#12082. - Once a pandoc release with the reader-side fix is bundled: un-skip the test; the existing
equations.mdx.snapshot(multi-line$$) should match as-is. - If upstream instead declares the trim intentional: regenerate the snapshot for the single-line form and re-enable the test.
Related
- jgm/pandoc#12082 — upstream regression report
- jgm/pandoc#11384 — original (3.7, writer-side) report
- #15320 — bundled Pandoc 3.10 → 3.13
- #13853 — docusaurus
html-math-method: webtexignored (math emitted as$$..$$), which is why this output path matters - quarto-dev/quarto VS Code extension roundtrip snapshots hit the same change (failing job; precedent quarto-dev/quarto#1062)
- Linguagem predominante
- JavaScript
- Estrelas
- 6.2k
- Forks
- 492
- Merge médio
- 15h 15min
- PRs com merge (30d)
- 94
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de quarto-dev/quarto-cli
-
bootstrap enhancement themes
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
quarto-dev/quarto-cli#15421 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
quarto-dev/quarto-cli#15408 ·
Mantenedores costumam responder em até 1 dia
-
accessibility bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
quarto-dev/quarto-cli#15401 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
bug callouts docx regression
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 81/100
quarto-dev/quarto-cli#15394 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
bug lightbox
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
quarto-dev/quarto-cli#15393 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de quarto-dev/quarto-cli
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
testing-library/jest-dom#749 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
-
ernst:4-klein prio:3-wacht ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
NewspeedyNL/PidLane#767 ·
Mantenedores costumam responder em até 1 dia
-
bug for-agent ready
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
WenyuChiou/agent-board#1812 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
bug help wanted Should Have ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
hannahro15/Musical-Match-Saga#327 · 1 comentário ·
Mantenedores costumam responder em até 1 dia