Skip to content
Discussion options

You must be logged in to vote

knitr sets fig.Retina to 2.
There are several blog post showing this, see for example http://zevross.com/blog/2017/06/19/tips-and-tricks-for-working-with-images-and-figures-in-r-markdown-documents/.


Could you format properly the code?

You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````).

````qmd
---
title: "Reproducible Quarto Document"
format: html
---

This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.

```{r}
plot(cars)
```

The end.
````

Replies: 1 comment 1 reply

Comment options

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

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