From 7dadbd20b9a90c499af3bbbd4b4cadb9652665e4 Mon Sep 17 00:00:00 2001 From: "james.balamuta@gmail.com" Date: Sun, 20 Oct 2024 15:08:07 -0700 Subject: [PATCH] Read icon inline as well. --- _extensions/custom-callout/customcallout.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_extensions/custom-callout/customcallout.lua b/_extensions/custom-callout/customcallout.lua index 8691391..c832dbb 100644 --- a/_extensions/custom-callout/customcallout.lua +++ b/_extensions/custom-callout/customcallout.lua @@ -97,7 +97,7 @@ local function convertToCustomCallout(div) type = callout.type, content = div.content, title = div.attributes.title or callout.title, - icon = callout.icon, + icon = div.attributes.icon or callout.icon, appearance = div.attributes.appearance or callout.appearance, collapse = div.attributes.collapse or callout.collapse }