diff options
Diffstat (limited to 'test/command/typst-hs-80.md')
| -rw-r--r-- | test/command/typst-hs-80.md | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/test/command/typst-hs-80.md b/test/command/typst-hs-80.md new file mode 100644 index 000000000..ed0e9228c --- /dev/null +++ b/test/command/typst-hs-80.md @@ -0,0 +1,55 @@ +``` +% pandoc -f typst -t native -s +#set document( + title: [My Title], +) + +#title() +^D +Pandoc + Meta + { unMeta = + fromList + [ ( "title" + , MetaInlines [ Str "My" , Space , Str "Title" ] + ) + ] + } + [] +``` + +``` +% pandoc -f typst -t native -s +#set document( + title: [ignored], +) + +#title[My Title] +^D +Pandoc + Meta + { unMeta = + fromList + [ ( "title" + , MetaInlines [ Str "My" , Space , Str "Title" ] + ) + ] + } + [] +``` + +``` +% pandoc -f typst -t native -s +#title[My Title] +^D +Pandoc + Meta + { unMeta = + fromList + [ ( "title" + , MetaInlines [ Str "My" , Space , Str "Title" ] + ) + ] + } + [] +``` |
