### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/2868

<div type='discussions-op-text'>

<sup>Originally posted by **aborruso** October 15, 2022</sup>
Hi,
it would be great to have in quarto for vega-lite, something like the Mermaid diagrams.

To write something like

````
``` {vega-lite}
{
  "data": {
    "values": [
      {"a": "C", "b": 2}, {"a": "C", "b": 7}, {"a": "C", "b": 4},
      {"a": "D", "b": 1}, {"a": "D", "b": 2}, {"a": "D", "b": 6},
      {"a": "E", "b": 8}, {"a": "E", "b": 4}, {"a": "E", "b": 7}
    ]
  },
  "mark": "point",
  "encoding": {
    "x": {"field": "a", "type": "nominal"}
  }
}
```
````

to get 

![image](https://user-images.githubusercontent.com/30607/195983210-85df1bd6-6fcf-49e6-a2a2-c2bdf659c683.png)


Thank you</div>
cscheid
2022-10-17T15:08:49Z
cscheid
enhancement
Future
open
Add vega-lite as embedding object
https://github.com/quarto-dev/quarto-cli/issues/2885