diff --git a/_extensions/custom-callout/customcallout.lua b/_extensions/custom-callout/customcallout.lua index 4c00ae0..8691391 100644 --- a/_extensions/custom-callout/customcallout.lua +++ b/_extensions/custom-callout/customcallout.lua @@ -98,8 +98,8 @@ local function convertToCustomCallout(div) content = div.content, title = div.attributes.title or callout.title, icon = callout.icon, - appearance = callout.appearance, - collapse = callout.collapse + appearance = div.attributes.appearance or callout.appearance, + collapse = div.attributes.collapse or callout.collapse } return quarto.Callout(calloutParams)