Creating figures with a caption depending on context (no markup natural convention)

Another option would be to use a caption attribute if this other extension is accepted some day:

1 Like