quarto-dev / quarto

Quarto open-source scientific and technical publishing system
https://quarto.org
GNU Affero General Public License v3.0
280 stars 19 forks source link

VS Code: Cell background color extends too far if prose is directly after closing backticks #447

Open DavisVaughan opened 1 month ago

DavisVaughan commented 1 month ago

With dev quarto


---
title: "Untitled"
format: html
---

```{r}
1 + 1

2 + 2

a asdf



https://github.com/quarto-dev/quarto/assets/19150088/c178886d-bc85-4c25-80ac-eede60a9ef81
cscheid commented 1 month ago

It's true that some parts of Quarto expect there to be an empty line immediately after the closing of a code block.

Pandoc's parser accepts text right after ```, so this is indeed a bug.