Jollywatt / typst-fletcher

Typst package for drawing diagrams with arrows, built on top of CeTZ.
MIT License
341 stars 6 forks source link

Shapes example in readme does not work #10

Closed ingrinder closed 7 months ago

ingrinder commented 7 months ago

The xkcd example demonstrating shapes appears at first not to work: image

However it seems e.g. node-stroke: 1pt is missing as this fixes the issue: image

Jollywatt commented 7 months ago

Good catch, fixed in 4063d289cb9e8c46f69067ebcd6d1778b8301be4.

The code for the README examples were actually white lies — there's some extra code to make different versions of the diagrams for both light and dark modes. But I hide that code in the README itself to not be distracting. You spotted some code that got hidden when it shouldn't have!