Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore/Add ability to inject code into a custom code cell #3

Open
coatless opened this issue Jan 7, 2024 · 0 comments
Open

Explore/Add ability to inject code into a custom code cell #3

coatless opened this issue Jan 7, 2024 · 0 comments

Comments

@coatless
Copy link
Contributor

coatless commented Jan 7, 2024

This would be similar to {{< include >}} shortcode, e.g. {{< include _content.qmd >}}; but maybe work inside of a markdown structure?

This isn't quite a situation where I want the official {quarto-ext/include-code-files} extension as that would require:

```{.r include="script.r"}
```

Instead, I'm looking for something more actionable for custom code cells.

```{shinylive-r}
#| standalone: true
#| viewerHeight: 600

{{<embed-code file="path/to/shiny/app/" >}}

```

This is to tide over the request in quarto-ext/shinylive#37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant