How do I overhang quotation marks?

Measuring quote in a string is wrong, considering the quotes are being added in markup mode, and therefore being converted to smart quotes, which almost definitely use different Unicode characters, which probably will have different width:

#context measure("\"").width

#context measure["].width

image

Also, it.body.children.first() can potentially error, since sequence can be empty, so .at should be used, like here:

Or separately:

1 Like