Rendering code cells containing labels in .ipynb output #13905
Unanswered
PhilChodrow
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
What do you expect a cross-reference to do in this context? What is exactly the use case behind? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am puzzled by some behavior I observe when rendering to .ipynb. Possibly related to #12242?
I am aiming to
quarto render(ideally, notquarto convert) a.qmdfile into an.ipynbwhile preserving runnable code blocks. However, this seems to break for cells containing cross-referenced labels.I am running
Contents of
test.qmd:Expected Result
I was expecting/hoping the resulting .ipynb to contain four cells: the first and third Markdown, the second and fourth executable code blocks.
# Test I expect this .qmd when rendered to ipynb to contain three Markdown and two code cells.Observed Result
The resulting
.ipynbcontains two cells, the first Markdown and the second an executable code block.Followed by code cell
Quarto version 1.8.25 on MacOS 15.1.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions