You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---
caption: |
here is a long caption with variables {eval}`n_sources`. and some more text
name: fig_name
tags: "[hide-input]"
---
# code to generate a figure
pass
expectation
I expected the eval (or glue) to be evaluated as it is for a code-block
bug
But instead, it seems to understand the directive but not doing the right operation
I do not have any error message, but the caption breaks the line:
n_sources
. and some more text
No additional information from the console
problem
This is a problem for doing a figure with a dynamic caption.
Maybe there is a difference manner to achieve a similar output?
Reproduce the bug
write a md file with the above content, compile and serve.
Describe the bug
context
I define a
code-cell
as followsexpectation
I expected the
eval
(or glue) to be evaluated as it is for acode-block
bug
But instead, it seems to understand the directive but not doing the right operation
I do not have any error message, but the caption breaks the line:
No additional information from the console
problem
This is a problem for doing a figure with a dynamic caption.
Maybe there is a difference manner to achieve a similar output?
Reproduce the bug
write a md file with the above content, compile and serve.
List your environment
The text was updated successfully, but these errors were encountered: