File tree Expand file tree Collapse file tree
src/resources/formats/typst/pandoc/quarto Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 # stack (dir : ltr , spacing : 3pt , super [# num ], contents )
1818]
1919
20- // Use nested show rule to preserve list structure for PDF/UA-1 accessibility
21- // See: https://github.com/quarto-dev/quarto-cli/pull/13249#discussion_r2678934509
22- # show terms : it => {
23- show terms . item : item => {
24- set text (weight : " bold" )
25- item . term
26- block (inset : (left : 1.5em , top : - 0.4em ))[# item . description ]
27- }
28- it
29- }
30-
31- // Prevent breaking inside definition items, i.e., keep term and description together.
32- # show terms . item : set block (breakable : false )
20+ # show terms . item : it => block (breakable : false )[
21+ # text (weight : " bold" )[# it . term ]
22+ # block (inset : (left : 1.5em , top : - 0.4em ))[# it . description ]
23+ ]
3324
3425// Some quarto-specific definitions.
3526
You can’t perform that action at this time.
0 commit comments