Skip to content

Commit

Permalink
fix(docs): don't adjust par break in code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Sep 28, 2023
1 parent 5655c7c commit 8de2574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cookery/templates/page.typ
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@

// code block setting
show raw: it => {
set par(justify: false)
set text(font: code-font)
if "block" in it.fields() and it.block {
set par(justify: false)
rect(
width: 100%,
inset: (x: 4pt, y: 5pt),
Expand Down

0 comments on commit 8de2574

Please sign in to comment.