Compare commits

...

1 Commits

Author SHA1 Message Date
2d79994f43 Feat: add background color for code blocks 2025-04-14 09:12:44 +08:00

View File

@@ -31,10 +31,18 @@
) )
// Code section default // Code section default
show raw: set text( show raw: self => {
set text(
font: "Consolas", font: "Consolas",
size: 8pt size: 8pt
) )
block(
fill: luma(240),
inset: 8pt,
radius: 2pt,
self
)
}
{ // Title { // Title
set align(center) set align(center)