[Redundant] How to remove the extra space after a label reference?

When I have inserted a figure or equation and reference it in texts:

#figure(
  ...
)<fig1>

Here texts @fig1.

But the rendered texts are:

Here texts Figure 1 .

Note that there is a space after the reference. I want to remove the space. Is there any way to do that?

Hello. Can you change your post category Questions?

You didn’t provide a minimal reproducible example, as it doesn’t even compile (https://sscce.org/). By default, there is no space after figure numbering.

#figure[] <fig1>

Here texts @fig1.

image

Also, for plain text you can use txt/text/plain/plaintext language identifier to prevent any default syntax highlighting.

I found it was my figure setting that caused the issue. Sorry for this redundant topic.