From cee8db8535b34bd3c3fd4b380f3559502cdd5a2c Mon Sep 17 00:00:00 2001 From: chenxp Date: Sat, 11 Jan 2025 13:54:38 +0800 Subject: [PATCH] fix: allow font awesome icon in heading --- lib.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib.typ b/lib.typ index c9d7e30..9440986 100644 --- a/lib.typ +++ b/lib.typ @@ -260,7 +260,7 @@ } else { color-darkgray } - #text[#strong[#text(color)[#it.body.text]]] + #text[#strong[#text(color)[#it.body]]] #box(width: 1fr, line(length: 100%)) ] @@ -632,7 +632,7 @@ ) #align(left)[ - #text[#strong[#text(accent-color)[#it.body.text]]] + #text[#strong[#text(accent-color)[#it.body]]] #box(width: 1fr, line(length: 100%)) ] ]