Skip to content

Include shortcode can be (now) in a code cell #10565

@mcanouil

Description

@mcanouil

What would you like to do?

Report an issue on quarto.org

Description

From https://quarto.org/docs/authoring/includes.html.

Note that you can’t use the include shortcode within a computational code block itself - as the example above shows, the executable code block needs to be inside the included document.

This is no longer true.

Inputcode.ROutput
---
title: "Quarto Playground"
format: html
---

```{r}
{{< include code.R >}}
```
cat("Hello, World!\n")
image

Metadata

Metadata

Assignees

Labels

documentationDoc improvements & quarto-web

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions