new
new post
Published on September 13, 2025 • By EduResHub Team
Quarto Blog Demo (Syntax‑Shielded + Copy Button)
Copy button + color‑safe code blocks
This HTML uses a syntax shield so your EduResHub CSS can’t override token colors.
# A quick demo plot
plot(mtcars$wt, mtcars$mpg,
pch = 19, col = "steelblue",
xlab = "Car weight (1000 lbs)", ylab = "Miles per gallon",
main = "mpg vs wt (mtcars)")
abline(lm(mpg ~ wt, data = mtcars), lwd = 2)
A tidyverse example
library(tidyverse)
|>
mtcars mutate(gear = factor(gear)) |>
ggplot(aes(gear, mpg, fill = gear)) +
geom_boxplot() +
labs(title = "MPG by Gear", x = "Gears", y = "MPG")