Skip to content

Could we use multiple languages in the same document? #4232

Answered by cscheid
TS-CUBED asked this question in Q&A
Discussion options

You must be logged in to vote

Since it seems to use an ipynb as an interim format, that may be the limiting factor.

You've pinpointed the central issue.

But if I understand correctly, it's just using the jupyter notebook to create a Markdown document, so using different kernels for the different languages should be possible, and then splicing the outputs back into the common Markdown.

That's easier said than done in the generality that we'd be comfortable with in order to make it a quarto feature. To give a few examples:

  • how do we resolve the order in which the kernels are selected? What happens when they overlap in the cells that execute?
  • how do we actually schedule the execution? Repeated calls into nbclient wo…

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@TS-CUBED
Comment options

@cscheid
Comment options

Answer selected by mcanouil
Comment options

You must be logged in to vote
4 replies
@mcanouil
Comment options

@tosh
Comment options

@mcanouil
Comment options

@floswald
Comment options

Comment options

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

Comment options

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