Skip to content

Commit

Permalink
Merge pull request #9772 from debdagybra/Typst-callout-without-body
Browse files Browse the repository at this point in the history
Typst callout without body
  • Loading branch information
cscheid authored May 31, 2024
2 parents 6d09c3a + 4601634 commit e156acb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/resources/formats/typst/pandoc/quarto/definitions.typ
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,12 @@
fill: background_color,
width: 100%,
inset: 8pt)[#text(icon_color, weight: 900)[#icon] #title]) +
block(
inset: 1pt,
width: 100%,
block(fill: white, width: 100%, inset: 8pt, body)))
if(body != []){
block(
inset: 1pt,
width: 100%,
block(fill: white, width: 100%, inset: 8pt, body))
}
)
}

0 comments on commit e156acb

Please sign in to comment.