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

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

<sup>Originally posted by **bvancil** January  6, 2023</sup>
Greetings! I'm happy to try to put together an alternative minimal reproducible example in another language if someone can suggest a Jupyter kernel that uses less common comments. I'm trying to label a table with a caption in this example with SAS, which uses an asterisk (*) to begin the comment and a semicolon (;) to end it. It also has C-style /* ... */ comments.

````
---
format:
    html:
        code-fold: true
jupyter: sas
---

As you can see in Table @table-class, there are people.

```{sas}
*| label: table-class;
*| fig-cap: "Class table";
title;
proc print data = sashelp.class(obs = 4);
run;
```
````

results in 

```
YAMLException: bad indentation of a mapping entry (src\quarto\prototype\test_table-caption.qmd, 12:11)
11: *| label: table-class;
12: *| fig-cap: "Class table";
             ~~
13: title;
```

Getting rid of the figure caption produces output, but the label reference isn't resolved, so I'm clearly specifying the parameters wrongly. Any ideas for how to specify parameters in a way that both SAS and Quarto will like?

### Things I've tried

```
*| label: table-class
*| fig-cap: "Class table"
;
```

Result: Quarto doesn't complain, but neither the caption nor the reference work.

```
/*
*| label: table-class
*| fig-cap: "Class table"
*/
```

Result: Same

```
/*
#| label: table-class
#| fig-cap: "Class table"
*/
```

Result: Same
</div>
cscheid
2023-01-09T16:28:27Z
cscheid
bug yaml-validation
v1.3
closed
How to specify cell parameters for languages with unusual comments
https://github.com/quarto-dev/quarto-cli/issues/3901