Is there a possibility to use `params` parameter of YAML params in chunks, like in R Markdown, in Quarto? 

The naïve approach to use the `params$<param-name>` value in chunk options, e. g. like this, fails: 

```
---
title: "MWE"
author: LaTeX
date: "11.01"
fontenc: T1
mainfont: "Times New Roman"
format:
    pdf: 
        pdf-engine: lualatex
        keep-tex: true
params:
    show_code: false
---

```{python, fig.caption = "Caption", echo = params$show_code}
#| label: fig-polar
#| fig-cap: "A line plot on a polar axis"
import matplotlib.pyplot as plt

r = np.arange(0, 2, 0.01)
theta = 2 * np.pi * r
fig, ax = plt.subplots(subplot_kw={'projection': 'polar'})
ax.plot(theta, r)
ax.set_rticks([0.5, 1, 1.5, 2])
ax.grid(True)
plt.show()
```

Thanks in advance for any response. 
2022-01-28T21:08:19Z
gjirokastrelbasanit34
closed
[Question]: Does quarto support YAML params parameter? 
https://github.com/quarto-dev/quarto-cli/issues/296