Skip to content

Commit

Permalink
Allow TODO to go over multiple pages (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
janthoXO authored Oct 5, 2024
1 parent cbb4c0d commit 11b55b8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions utils/todo.typ
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#let TODO(body, color: yellow) = {
rect(
width: 100%,
#let TODO(body, color: yellow, width: 100%, breakable: true) = {
block(
width: width,
radius: 3pt,
stroke: 0.5pt,
fill: color,
inset: 10pt,
breakable: breakable,
)[
#body
]
}
}

0 comments on commit 11b55b8

Please sign in to comment.