I am working on a plugin that helps embedding images into a page. When the image cannot be found, I currently just render some HTML code like “
[Error]: Could not find diagram.” inside the execute() method of my Macro.
It would be much nicer to display this in form of a warning, tip or error macro. How can I insert other macros inside mine?