-
Hi, In my document I have of course a return {
["doc-callout"] = function(args, kwargs, meta)
local calloutHeader = pandoc.Header(2, "Test header")
local calloutContent = pandoc.Inlines{"Some text ", pandoc.Emph("with part in italic")}
local calloutDiv = {}
calloutDiv["type"] = "note"
calloutDiv["content"] = pandoc.Blocks{calloutHeader, calloutContent}
calloutOut = quarto.Callout(calloutDiv)
return calloutOut
end
} |
Beta Was this translation helpful? Give feedback.
Answered by
cscheid
Feb 21, 2023
Replies: 1 comment 11 replies
-
You need to use the correct API: https://quarto.org/docs/prerelease/1.3/custom-ast-nodes/callout.html |
Beta Was this translation helpful? Give feedback.
11 replies
Answer selected by
Nenuial
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to use the correct API: https://quarto.org/docs/prerelease/1.3/custom-ast-nodes/callout.html