aboutsummaryrefslogtreecommitdiff
path: root/test/writer.typst
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-12-09 23:23:15 -0800
committerJohn MacFarlane <[email protected]>2023-12-09 23:23:15 -0800
commitaa9577074357c7938c5a4a7e820bd12c90c0d32b (patch)
treee435d03c5f8868d386b41bed5dfbc5472dc2958e /test/writer.typst
parentd8b5541d61f7b78589c68b077cbb8fe3f927d6a2 (diff)
Typst writer: use quote for block quotes.
Remove custom definitiion of blockquote in default template.
Diffstat (limited to 'test/writer.typst')
-rw-r--r--test/writer.typst19
1 files changed, 7 insertions, 12 deletions
diff --git a/test/writer.typst b/test/writer.typst
index ad6ff1c9d..d4dd4c8e6 100644
--- a/test/writer.typst
+++ b/test/writer.typst
@@ -1,9 +1,4 @@
// Some definitions presupposed by pandoc's typst output.
-#let blockquote(body) = [
- #set text( size: 0.92em )
- #block(inset: (left: 1.5em, top: 0.2em, bottom: 0.2em))[#body]
-]
-
#let horizontalrule = [
#line(start: (25%,0%), end: (75%,0%))
]
@@ -151,11 +146,11 @@ here.
<block-quotes>
E-mail style:
-#blockquote[
+#quote(block: true)[
This is a block quote. It is pretty short.
]
-#blockquote[
+#quote(block: true)[
Code in a block quote:
```
@@ -171,11 +166,11 @@ A list:
Nested block quotes:
-#blockquote[
+#quote(block: true)[
nested
]
-#blockquote[
+#quote(block: true)[
nested
]
]
@@ -447,7 +442,7 @@ orange fruit
{ orange code block }
```
-#blockquote[
+#quote(block: true)[
orange block quote
]
]
@@ -763,7 +758,7 @@ With an ampersand: #link("http://example.com/?foo=1&bar=2")
An e-mail address: #link("mailto:[email protected]")[nobody\@nowhere.net]
-#blockquote[
+#quote(block: true)[
Blockquoted: #link("http://example.com/")
]
@@ -809,7 +804,7 @@ is #emph[easier] to type. Inline notes may contain
#link("http://google.com")[links] and `]` verbatim characters, as well as
\[bracketed text\].]
-#blockquote[
+#quote(block: true)[
Notes can go in quotes.#footnote[In quote.]
]