Skip to content
Discussion options

You must be logged in to vote

Apparently you come from RMarkdown, in Quarto, the correct/proper syntax is below.

Note that title: "" is not equivalent to not having a title, it's having an empty title.

Mixing inline and YAML style syntaxes for code cell is not recommended even in RMarkdown.
You should choose.
In Quarto, there is nothing between the brackets beside the engine. Everything else is in YAML format (not dit notations).

---
format: docx
---

```{r}
#| echo: false
#| out-width: 80%
knitr::include_graphics("QC_raw_Feature_spatial.png")
```

```{r}
#| echo: false
#| out-width: 80%
knitr::include_graphics("QC_raw_Feature_spatial.jpg")
```

Finally, note that you don't need all of that to include an image:

---
format

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Liripo
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