Description
When an image is copy-pasted or dragging into a document, it always inserts #image('NAME'). However, when the image it is being inserted into a code section like below, it still adds the # to escape, but it is not required.
#figure(
<PASTE LOCATION>
)
When I paste into the above example, I would expect it to omit the #.
Sorry that this is such a small bug. I am super happy with typst otherwise!
Reproduction URL
No response
Browsers
Safari
OS
macOS
Description
When an image is copy-pasted or dragging into a document, it always inserts
#image('NAME'). However, when the image it is being inserted into a code section like below, it still adds the#to escape, but it is not required.When I paste into the above example, I would expect it to omit the
#.Sorry that this is such a small bug. I am super happy with typst otherwise!
Reproduction URL
No response
Browsers
Safari
OS
macOS