I'm trying to implement a custom writer that outputs captioned figures with attributes, however, it appears that the CaptionedImage() function call does not include the attribute table attr as one of its parameters. The Image() function on the other hand does receive the attr parameter.
I'm trying to implement a custom writer that outputs captioned figures with attributes, however, it appears that the
CaptionedImage()
function call does not include the attribute tableattr
as one of its parameters. TheImage()
function on the other hand does receive theattr
parameter.taken from the the sample.lua file:
I would hazard a guess that this has something to do with lines 225-256 of pandoc/Writers/Custom.hs
but I'm not sure how to put an
attr
parameter in there