Skip to content

Commit

Permalink
🐛 Better empty heading behavior for typst proofs
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Oct 30, 2024
1 parent f7e8385 commit 1837772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/myst-to-typst/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const tabItem = `
}`;

const proof = `
#let proof(body, heading: none, kind: "proof", supplement: "Proof", labelName: none, color: blue, float: true) = {
#let proof(body, heading: [], kind: "proof", supplement: "Proof", labelName: none, color: blue, float: true) = {
let stroke = 1pt + color.lighten(90%)
let fill = color.lighten(90%)
let title
Expand Down

0 comments on commit 1837772

Please sign in to comment.