Hi, once again thanks a lot for `quarto` which is an excellent tool.

I tried to use `folium` with `quarto` to build a `Python` course website. The output format is `hugo`.  Instead of the map the python block should have produced, this message appeared:

> Make this Notebook Trusted to load map: File -> Trust Notebook<iframe srcdoc="<!DOCTYPE html> <head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

This is a typical Jupyter security message as stated in the [doc](https://jupyter-notebook.readthedocs.io/en/latest/notebook.html?highlight=trust#signing-notebooks). 

I put a minimal reproducible exemple at the end of the _issue_ based on `folium` documentation to show how to recreate the problem.

Is there some way, behind the stage, to make jupyter trust all sessions launched by quarto ?

What is surprising is that this behavior does not happen when using `html` output

## Reprex

Let's create a file `example.qmd` :

~~~markdown
---
title: "Plotly example"
html: default
---

```{python}
import folium
m = folium.Map(location=[45.5236, -122.6750])
```

```{python}
m
```
~~~

When using `quarto render example.qmd --to html`, no problem at all. Map is visible. 

When using `quarto render example.qmd --to hugo`, instead of the map we have the `Make this Notebook Trusted to load map` (and lot's of misformed content I don't understand)

I also tried to replace the printing of the map using `m` by

~~~markdown
```{python}
#| include: false
#| eval: false
map = m._repr_html_()
```

```{python}
#| echo: false
#| output: asis
#| eval: false
print(map)
```
~~~
(which was my R Markdown way of doing) but the result is the same

Update: it works as expected for `ipynb` output. Problem is really for `hugo` format
2022-05-12T07:13:07Z
linogaliana
closed
Untrusted jupyter notebook when using JS for hugo format
https://github.com/quarto-dev/quarto-cli/issues/850