Open perellonieto opened 8 months ago
The issue #28 may be related to this one as I realized that the editor-terminal
mode does not support the #| standalone: true
argument.
```{shinylive-python}
#| standalone: true
#| components: [editor, terminal]
print('This is the first code.')
which fails with the following error ` '#| standalone: true' is not valid for editor-terminal and editor-cell code blocks.`.
However, adding a `viewer` and the `#| standalone: true` argument is able to generate the html page, but the problem of only the last terminal being used as an output persists.
````yaml
```{shinylive-python}
#| standalone: true
#| components: [editor, viewer, terminal]
print('This is the first code.')
#| standalone: true
#| components: [editor, viewer, terminal]
print('This is the second code.')
#| standalone: true
#| components: [editor, viewer, terminal]
print('This is the last code.')
I want to create a step by step guide on how to use Python and I have tried to create multiple block codes with an editor and a terminal. It seems that when there are multiple terminals in the same page only the last terminal is used as the output of all of them. However, the input (when clicking on run) seems to be associated with their respective code block.
The following is an example of the problem (with quarto version 1.3.450)