Skip to content
Discussion options

You must be logged in to vote

(I haven't tested this, but it should work.)

It's an advanced hack, but yes. You want to use "output: asis" in the Python code cell metadata, and then produce output that corresponds exactly to the dot input you'd use here: https://quarto.org/docs/authoring/diagrams.html.

This should work because our dot handlers are run after the engines execute, and so we should be able to see your dot input.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@drdozer
Comment options

@drdozer
Comment options

@cscheid
Comment options

Answer selected by drdozer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants