Open jules32 opened 12 months ago
Update from Christophe: use {.python}
rather than .python
. - this made the rendered format as expected with the copy button.
as in the later case will identify the class as being .python
and not python
. The latter is equivalent to
{..python}
You can also use
python
without .
as we document https://quarto.org/docs/authoring/markdown-basics.html#source-code
The .
before the name if for the class syntax in curly braces syntax. Like with div and spans
Code chunks are executed if they are within curly brackets like {python}
There are 2 ways for computational code to be ignored:
```python
```{.python}
There are merits for each - python
is cleaner and follows the rules
but {.python}
has the consistency of the { }
notation.
Let's go with
```python
which follows the rules
We're addressing this in #234
Carlos S from the Quarto team identified that the
{bash}
syntax will try to execute, despite the yml (see my original question below). Go through for render errors and fix; document this in the contributing section