main
1#import "@preview/bullseye:0.1.0": show-target
2
3#let blockquote-template-html(body) = {
4 show quote.where(block: true): it => {
5 html.blockquote(it.body)
6 if it.attribution != none {
7 html.elem("p", attrs: (class: "blockquote-attribution"), it.attribution)
8 }
9 }
10 body
11}
12
13#let blockquote-template-paged(body) = {
14 // TODO: blockquote style in PDF target
15 body
16}
17
18#let blockquote-template(body) = {
19 show: show-target(
20 paged: blockquote-template-paged,
21 html: blockquote-template-html,
22 )
23 body
24}