-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
When using Julia code cells with Python cells, attempting to specify echo metadata results in a YAMLException.
For demonstration, I took the file https://github.com/PumasAI/QuartoNotebookRunner.jl/blob/main/test/examples/integrations/PythonCall.qmd included in the project, shortened it a bit and added a couple of echo options:
---
title: PythonCall integration
julia:
exeflags: ["--project=PythonCall"]
---
```{julia}
#| echo: false
using PythonCall
```
```{python}
#| echo: fenced
import re
```The following error occurs when executing the rendering command quarto render PythonCall.jl.qmd --to html in Quarto 1.7.31:
Starting julia control server process. This might take a while...
Julia server process started.
Running [1/2] at line 7: using PythonCall
Running [2/2] at line 12: import re
ERROR: YAMLException: duplicated mapping key (undefined, 3:1)
3: echo: fenced
~~
When using only Julia code cells, such errors do not occur.
Metadata
Metadata
Assignees
Labels
No labels