Replies: 2 comments 4 replies
-
You mean have the Quarto document linked? (note that it is not
Side noteQuarto recommends the use of YAML style for code cells options because Quarto itself does not use R inline syntax. That's supported by Quarto as a side effect with ---
title: Cars Plot
author: Lukas Graz
engine: knitr
date: 2024-10-16
---
```{r}
#| label: cars-plot
#| fig-cap: "A scatter plot of the cars data set."
plot(cars)
library(qreport)
library(ggplot2)
```
```{r}
#| results: asis
qreport::maketabs(
list(
ggplot(cars, aes(x = speed, y = dist)) + geom_point(),
ggplot(cars, aes(x = speed, y = dist)) + geom_jitter()
))
``` |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, I was not aware that I can also use all the features from HTML. Great! Yes, I mean a quarto-document linked Thanks to you I know how to link a html file, I suppose I just write a pre-render script that renders the file to quarto. Its good but not perfect. I prefer the other-links to appear below the table-of-contents. :) Ideally, I would just be able to specify in the notebooks setting that I want it not as a Jupyter but a classical quarto document (or "rmarkdown" as I falsley named it) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Background: I want to render the example below in a manuscript and link to it in a nice way. Notebooks seem to be the right option. However, the output below uses some Rmd tricks and things do not work with Jupyter notebooks.
Is there any possibility that allows me to use the non-jupyter rendered html files?
Setup: The file below lives in
notebooks/plotCars.qmd
and the_quarto.yml
containsThanks <3
Beta Was this translation helpful? Give feedback.
All reactions