Skip to content

How have a referenced figure in code? #2253

Answered by xkevio
uben0 asked this question in Q&A
Discussion options

You must be logged in to vote

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>]
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by uben0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants