From a210eb6a5ad230c82ebd3847ff4d33604c2564e2 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Fri, 24 Jul 2026 09:07:31 +0000 Subject: [PATCH 1/2] Update roundtrip snapshots for Pandoc 3.10 Quarto's pre-release bundles Pandoc 3.10, which changes two Markdown writer behaviors exercised by the visual-editor roundtrip snapshot tests: - Display math: Pandoc 3.10 restores the pre-3.7 behavior of keeping the newlines inside $$...$$ (jgm/pandoc#11384, the regression was introduced in 3.7 and reverted in 3.9). The snapshots had been updated in #944 to the collapsed single-line form produced by Pandoc 3.8.3; 3.10 reverts that, which matches the original #790 snapshots. - Definition lists: with four_space_rule disabled (Quarto's default), Pandoc 3.10 indents definition content by 1 space instead of 3 (jgm/pandoc commit 8ce63ff). Regenerate the two affected snapshots (valid-basics-2 and valid-nesting) to match Pandoc 3.10 output. --- .../roundtripped-valid-basics-2.qmd | 9 ++++---- .../roundtripped-valid-nesting.qmd | 22 ++++++++++--------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/apps/vscode/src/test/examples/generated_snapshots/roundtripped-valid-basics-2.qmd b/apps/vscode/src/test/examples/generated_snapshots/roundtripped-valid-basics-2.qmd index 76f7abaa..c6829a5f 100644 --- a/apps/vscode/src/test/examples/generated_snapshots/roundtripped-valid-basics-2.qmd +++ b/apps/vscode/src/test/examples/generated_snapshots/roundtripped-valid-basics-2.qmd @@ -29,19 +29,20 @@ hello [underline]{.underline} ~~strikethrough~~ ^super^ ~sub~ [smallcaps]{.small definition term -: definition content +: definition content definition term 2 -: definition content 2 +: definition content 2 ------------------------------------------------------------------------ ::: {#thm-pythagoras} #### Pythagoras's Theorem -In a right triangle, the lengths of the two shorter sides $a$, $b$ and the longer side $c$ stand in the relation -$$a^2 + b^2 = c^2.$$ +In a right triangle, the lengths of the two shorter sides $a$, $b$ and the longer side $c$ stand in the relation $$ +a^2 + b^2 = c^2. +$$ ::: See @thm-pythagoras for details. diff --git a/apps/vscode/src/test/examples/generated_snapshots/roundtripped-valid-nesting.qmd b/apps/vscode/src/test/examples/generated_snapshots/roundtripped-valid-nesting.qmd index b370293e..09c14a17 100644 --- a/apps/vscode/src/test/examples/generated_snapshots/roundtripped-valid-nesting.qmd +++ b/apps/vscode/src/test/examples/generated_snapshots/roundtripped-valid-nesting.qmd @@ -12,19 +12,21 @@ a = 3 > 1+1 > ``` > -> $$3 = 1 + 1 + 1 = 2 + 1 = 1 + 2$$ +> $$ +> 3 = 1 + 1 + 1 = 2 + 1 = 1 + 2 +> $$ > > > block quote in block quote > -> +---------+-------+ -> | | | -> +=========+=======+ -> | | ``` r | -> | $$1+0$$ | 1+1 | -> | | ``` | -> +---------+-------+ -> | 3 | 4 | -> +---------+-------+ +> +-----+-------+ +> | | | +> +=====+=======+ +> | $$ | ``` r | +> | 1+0 | 1+1 | +> | $$ | ``` | +> +-----+-------+ +> | 3 | 4 | +> +-----+-------+ > > : my table caption > From 909ea5a43c9df0b686070549f98104d3457907f6 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Fri, 24 Jul 2026 11:20:44 +0200 Subject: [PATCH 2/2] .gitignore - add roborev snapshot folder --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index d87a955e..363eca19 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ public/dist .vscode-test *.vsix *.timestamp-*.mjs +# roborev snapshots +/.roborev/