summaryrefslogtreecommitdiff
path: root/test/snapshots/markup.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-24 22:18:24 -0300
committerGabriel Schneider <[email protected]>2026-08-25 09:42:07 -0300
commit08eadb3b46dc70a297ff89308dd1cd26237785d6 (patch)
tree66152ea18a3639dd216b6e658d9cd5503201afdc /test/snapshots/markup.snap
parentc3d0b84b7961ae26d2d654e7120821cc2d83d20d (diff)
downloadpardes-08eadb3b46dc70a297ff89308dd1cd26237785d6.tar.gz
pardes-08eadb3b46dc70a297ff89308dd1cd26237785d6.zip
syntax + pdf_pane + file_pane: prose grammars paint, pdf Esc cancels, gj/gk walk wrapped rows
Diffstat (limited to 'test/snapshots/markup.snap')
-rw-r--r--test/snapshots/markup.snap18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/snapshots/markup.snap b/test/snapshots/markup.snap
new file mode 100644
index 00000000..2a28d7d7
--- /dev/null
+++ b/test/snapshots/markup.snap
@@ -0,0 +1,18 @@
+# markup: the two prose grammars. Typst paints headings and the `#` code sigil
+# in the keyword colour, bold in the bold-attribute slot, italics and raw spans
+# in their own; markdown needs a SECOND grammar (markdown_inline) to see bold
+# and italics at all, and both languages inject a tagged code block's language
+file paper.typ = Typst heading\n\nProse with *bold* and _italic_ words, a `raw` span,\nand #emph[call] plus #let n = 42\n\n```zig\nfn widget() u8 { return 99; }\n```\n
+file notes.md # Markdown heading with *italic*\n\nProse with **bold**, *italic* and an `inline` span.\n\n```zig\nfn gadget() u8 { return 77; }\n```\n
+start 24 92 paper.typ
+wait 8000 Typst heading
+wait 8000 widget
+stable 700 20000
+snap typst
+snapstyle typst
+start 24 92 notes.md
+wait 8000 Markdown heading
+wait 8000 gadget
+stable 700 20000
+snap markdown
+snapstyle markdown