Skip to content

Issue/strange behaveour I found when working with Rmd #4531

Answered by juliasilge
CorradoLanera asked this question in Q&A
Discussion options

You must be logged in to vote

Ah yep, I believe you have run into quarto-dev/quarto#493 because the Quarto extension does not support this kind of syntax currently:

---
title: "Issues with headers in Positron"
output: html_document
date: "2024-08-30"
---

```{r}
1+1
```
# Foo

```{r}
set.seed(123)
```

You do need the newline after the code chunk currently but that issue ⤴️ tracks whether this can be supported better, or at the least linted to prompt folks like you to add the new line.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@juliasilge
Comment options

Answer selected by CorradoLanera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants