I’m writing a plugin for Obsidian MD (https://obsidian.md/) that allows captions to be added to images (GitHub - bicarlsen/obsidian_image_caption: Add captions to images in Obsidian.). It seems that the images are being added as decorations based on the markdown code, and I would like to add the captions as a child to their widget decorations instead of adding them as a sibling widget.
Is it possbile to access the decorations added by another extension?