From 08eadb3b46dc70a297ff89308dd1cd26237785d6 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 24 Aug 2026 22:18:24 -0300 Subject: syntax + pdf_pane + file_pane: prose grammars paint, pdf Esc cancels, gj/gk walk wrapped rows --- test/snapshots/markup.snap | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/snapshots/markup.snap (limited to 'test/snapshots/markup.snap') 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 -- cgit v1.3