-
#figure(image("foo.png")) <foo> This works, but what if: #{
figure(image("foo.png")) <foo>
} This does not. How can I associate a label to a figure in code mode? |
Beta Was this translation helpful? Give feedback.
Answered by
xkevio
Sep 27, 2023
Replies: 1 comment
-
You can't attach a label in code mode. It seems to just be an implementation detail. What you can do is go back to content mode inside the code block: #{
[#figure(image("foo.png"))<foo>]
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
uben0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't attach a label in code mode. It seems to just be an implementation detail. What you can do is go back to content mode inside the code block: