Rendering this with quarto 1.2.203 fails with the following error:
Executing 'b.ipynb'
Cell 1/1...ERROR:
An error occurred while executing the following cell:
------------------
%%time #| hide_line
2+2
------------------
UsageError: Can't use statement directly after '%%time'!
Note: my actual use case is to implement a solution for https://github.com/quarto-dev/quarto-cli/issues/135 to run Python and Octave cells in the same document. In this case I hit another problem. For example with
Since these comments are processed after cell execution, they need to valid code for Jupyter to process (so I don't think this will ever work w/ cell magics)
MWE:
Rendering this with quarto 1.2.203 fails with the following error:
Note: my actual use case is to implement a solution for https://github.com/quarto-dev/quarto-cli/issues/135 to run Python and Octave cells in the same document. In this case I hit another problem. For example with
the rendering succeeds, but the code cell has no output.