1local codeBlock = require('docusaurus_utils').codeBlock 2 3-- print("Found me") 4-- _quarto.ast.add_renderer("Callout", function() 5-- return we_are_docusaurus -- detect docusaurus-md 6-- end, function(node) 7-- local admonition = pandoc.List() 8-- admonition:insert(pandoc.RawBlock("markdown", "\n:::" .. node.type)) 9-- if node.title then 10-- admonition:insert(pandoc.Header(2, node.title)) 11-- end 12-- local content = node.content 13-- if type(content) == "table" then 14-- admonition:extend(content) 15-- else 16-- admonition:insert(content) 17-- end 18-- admonition:insert(pandoc.RawBlock("markdown", ":::\n")) 19-- return admonition 20-- end) 21 22-- luacov: disable 23return {} -- return an empty table as a hack to pretend we're a shortcode handler for now 24-- luacov: enable 25