Klap-in / dokuwiki-plugin-imagereference

Dokuwiki plugin that creates references to images/tables in your text, like the LaTeX figure references.
https://www.dokuwiki.org/plugin:imagereference
0 stars 7 forks source link

Support using the caption from the image itself #28

Closed iainhallam closed 3 years ago

iainhallam commented 7 years ago

DokuWiki's image syntax supports putting a caption on the image:

{{:image.png|Fig. 1: An image}}

(See https://www.dokuwiki.org/wiki:syntax#media_files)

Could the image reference plugin use that caption if one isn't supplied in the <imgcaption label> tag?

Klap-in commented 7 years ago

So far I know there is already a kind of reuse of titles. I thought that the missing caption text is completed from image title. I have to check first to how it works exactly.

Klap-in commented 3 years ago

Is working for me.