changed: raw block font is option in config
This commit is contained in:
parent
fb03bfc414
commit
18979f8f81
|
@ -62,6 +62,10 @@
|
||||||
font: "Open Sans"),
|
font: "Open Sans"),
|
||||||
heading: (
|
heading: (
|
||||||
font: "Montserrat"),
|
font: "Montserrat"),
|
||||||
|
code: (
|
||||||
|
theme: "res/abb.tmTheme",
|
||||||
|
font: "FiraCode Nerd Font",
|
||||||
|
tab-size: 4),
|
||||||
link: (
|
link: (
|
||||||
color: ABB-GRAY-02)))
|
color: ABB-GRAY-02)))
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,10 @@
|
||||||
show heading.where(level: 3): it => v(0.5em) + it + v(0.25em)
|
show heading.where(level: 3): it => v(0.5em) + it + v(0.25em)
|
||||||
|
|
||||||
// set theme for code blocks
|
// set theme for code blocks
|
||||||
set raw(tab-size: 4, theme: "res/abb.tmTheme")
|
set raw(
|
||||||
|
tab-size: style.code.tab-size,
|
||||||
|
theme: style.code.theme)
|
||||||
|
show raw: set text(font: style.code.font)
|
||||||
|
|
||||||
show figure: set block(breakable: true)
|
show figure: set block(breakable: true)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue