Skip to content

Commit

Permalink
tests: Add tests for inline math content
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf committed Oct 10, 2024
1 parent 57a73be commit 9749ab7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/content/test.typ
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,9 @@
content((0, 0, 0), [Z=0])
content((0, 0, 1), [Z=1])
}))

// Test inline math measuring
#context box(stroke: 2pt + red, canvas(length: 1cm, {
import draw: *
content((0, 0), $x=1$)
}))

0 comments on commit 9749ab7

Please sign in to comment.