100

100

10

Published on September 14, 2025By EduResHub Team

Quarto Blog Template (Breezedark 4-Color)

Author

Prof. CKDash

Published

September 14, 2025

📘 Quarto Blog Template

This template is pre-configured with breezedark syntax highlighting (4 colors locked) and copy buttons for code blocks. You can reuse it for any blog post — just replace the text and code below.


Demo Plot Example

# 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")

How to create a list Hira

mylist <- list(
  Numbers = c(10, 20, 30),
  Names = c("Rahim", "Karim"),
  Marks = data.frame(
    Subject = c("Math", "English"),
    Score = c(90, 85)
  )
)
print(mylist)
$Numbers
[1] 10 20 30

$Names
[1] "Rahim" "Karim"

$Marks
  Subject Score
1    Math    90
2 English    85