Skip to content
Discussion options

You must be logged in to vote

@asiddiqi16 to ensure anyone can help, please make sure what your provide can be used. For example, your code don't work and cannot be used as there are missing pieces/context.

This being said, comment-pipe options are for code cells. Code cells are contents that are processed very early in Quarto processing and it is done by the engines (knitr, Jupyter, Julia).
Raw blocks are not evaluated by anything until the end. It's a convenience syntax to allow user to provide code matching the output format that should not be processed in anyway by Quarto.

For cross-reference to work with code celles, there is a requirement: the code should not emit complex structure and should only emit the raw t…

Replies: 2 comments 2 replies

This comment was marked as off-topic.

@mcanouil
Comment options

mcanouil Dec 8, 2025
Collaborator

Comment options

You must be logged in to vote
1 reply
@asiddiqi16
Comment options

Answer selected by asiddiqi16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment