quarto-dev / quarto-dev/quarto-cli
Code Annotation and OJS does not work well together when evaluated cell
Open
@cscheid is already working on this.
Since Nov 27, 2023.
bug
code-annotation
ojs-engine
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
I believe code annotation and OJS is more complex, because it seems OJS will output results under each line, with no possible grouping.
---
code-annotations: true
---
```{ojs}
1 + 1 // <1>
2 + 2
3 + 3 // <2>
```
1. test
2. test
```{r}
1 + 1 # <1>
2 + 2
3 + 3 # <2>
```
1. test
2. test
but this is another issue because in this case the ordered List is not even processed.
Originally posted by @cderv in https://github.com/quarto-dev/quarto-cli/issues/7537#issuecomment-1814414780
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.