fossunited/mon_school

style-width is not working in the exercise images

Closed this issue · 0 comments

The style-width is ignored in the exercise images.

It is being rendered as style_width instead of style-width. Looks like there is a bug in the exercise macro.

Sample Code

p1 = point(x=-100, y=100)
p2 = point(x=100, y=100)
p3 = point(x=-100, y=-100)
p4 = point(x=100, y=-100)

s = polygon([p1, p2, p3, p4], fill="yellow", stroke="red", stroke_width=5)
show(s)

Expected Output

Screenshot 2021-07-16 at 3 42 39 AM

Actual Output

Screenshot 2021-07-16 at 3 42 49 AM