improve directive `image`

Allow rich text in the caption.