quarto-dev / quarto-dev/quarto-cli

Code Annotation and OJS does not work well together when evaluated cell

Open
#7,609 1 comment 0 reactions 1 assignee View on GitHub

@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

image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.