Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mine-cetinkaya-rundel/a9ca8764eaa8e16d8caa377eb18c30b4 to your computer and use it in GitHub Desktop.
Save mine-cetinkaya-rundel/a9ca8764eaa8e16d8caa377eb18c30b4 to your computer and use it in GitHub Desktop.
Highlighting across multiple code chunks in a Quarto revealjs presentation
---
format:
revealjs:
highlight-style: a11y-dark
execute:
echo: true
---
```{r}
#| code-line-numbers: "|1|2"
1 +
1
```
<br>
::: {.fragment}
```{r}
#| code-line-numbers: "|1|2"
2 +
2
```
:::
<br>
::: {.fragment}
```{r}
#| code-line-numbers: "|1|2"
3 +
3
```
:::
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment