Closed jarnowic closed 1 month ago
This should do it.
function Image(el)
return el.caption
end
This will substitute the image description for the image.
This should do it.
function Image(el) return el.caption end
This will substitute the image description for the image.
as simple as a lua function... thanks!
PS. Please do not put questions in issues. These go in Discussions. You already posted there, I see, but don't abuse issues to ask a question just because you haven't gotten a response yet.
my apologies: this interface is somewhat unfamiliar to me; it's not much unlike people mistaking comments for answers on stackexchange on their first approach. with the demise of google access to pandoc discuss the clear difference between bug report, troubleshooting and general inquiry is blurring.
No worries. But you can see now what the problem is -- someone just replied to your Discussion entry with essentially the same answer I gave above. Having the same question in two places can cause duplicated work.
Discussed in https://github.com/jgm/pandoc/discussions/10299