Feat: add background color for code blocks
This commit is contained in:
10
styles.typ
10
styles.typ
@@ -31,10 +31,18 @@
|
||||
)
|
||||
|
||||
// Code section default
|
||||
show raw: set text(
|
||||
show raw: self => {
|
||||
set text(
|
||||
font: "Consolas",
|
||||
size: 8pt
|
||||
)
|
||||
block(
|
||||
fill: luma(240),
|
||||
inset: 8pt,
|
||||
radius: 2pt,
|
||||
self
|
||||
)
|
||||
}
|
||||
|
||||
{ // Title
|
||||
set align(center)
|
||||
|
||||
Reference in New Issue
Block a user