Rendering markdown from a plugin

I have a plugin (GitHub - bicarlsen/obsidian_image_caption: Add captions to images in Obsidian.) that I’m trying to render processed markdown from, but can’t figure out how to do it. Currently I insert an HTML element into the preview by hooking into registerMarkdownPostProcessor, but the element I add is not processed.

3 Likes