diff options
| author | John MacFarlane <[email protected]> | 2025-07-14 11:52:22 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-07-14 11:52:22 -0700 |
| commit | 826f487818e6b36ec1e6feeafaa2e9449ce47695 (patch) | |
| tree | f5fea09ecb9647d1e787b8669a5d65159e4c943e /test | |
| parent | ee4c9352ee9282f348d9459eafc08cbc0c671a91 (diff) | |
Typst writer: set lang attribute in Divs.
Closes #10965.
Diffstat (limited to 'test')
| -rw-r--r-- | test/command/10965.md | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/test/command/10965.md b/test/command/10965.md new file mode 100644 index 000000000..565723278 --- /dev/null +++ b/test/command/10965.md @@ -0,0 +1,47 @@ +``` +% pandoc -f markdown -t typst +::: {lang="en"} +This text should be in English. +::: +^D +#block[ +#set text(lang: "en"); This text should be in English. + +] +``` + +``` +% pandoc -f markdown -t typst +::: {lang="fr"} +Ce texte devrait être en français. +::: +^D +#block[ +#set text(lang: "fr"); Ce texte devrait être en français. + +] +``` + +``` +% pandoc -f markdown -t typst +::: {lang="de-DE"} +Dieser Text sollte auf Deutsch sein. +::: +^D +#block[ +#set text(lang: "de"); Dieser Text sollte auf Deutsch sein. + +] +``` + +``` +% pandoc -f markdown -t typst +::: {lang=""} +This should not have lang set. +::: +^D +#block[ +This should not have lang set. + +] +``` |
