diff options
Diffstat (limited to 'test/snapshots/markup.snap')
| -rw-r--r-- | test/snapshots/markup.snap | 18 |
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 |
