Open perellonieto opened 8 months ago
Thanks for providing the very clear example. If there is a viewer
block before the terminal, does it run?
I changed the title as I meant a terminal
blocks the subsequent viewers.
If I only add a viewer to the previous code
```{shinylive-python}
#| components: [editor, viewer, terminal]
print('First code will prevent the rest of the code blocks from showing their rendered output')
it raises an error about the argument `#| standalone: true` being necessary.
If I add the `#| standalone: true` option
````yaml
```{shinylive-python}
#| standalone: true
#| components: [editor, terminal]
print('First code will prevent the rest of the code blocks from showing their rendered output')
I raises the error `'#| standalone: true' is not valid for editor-terminal and editor-cell code blocks.` which may be related to this issue.
And if I add both the `#| standalone: true` option and the `viewer`
````yaml
```{shinylive-python}
#| standalone: true
#| components: [editor, viewer, terminal]
print('First code will prevent the rest of the code blocks from showing their rendered output')
the page is rendered as expected. Then as indicated above the original problem is that the current implementation of the shinylive extension does not support a standalone terminal.
If this is correct, are there any plans to work on the `standalone` argument?
If a code block includes the component
terminal
all the subsequent code blocks that have aviewer
are not rendered (with quarto version 1.3.450).The following is a code example that does not allow the 2 last code blocks to render.