I'm using the Atlassian API package for Python to automate some pages in Confluence. I only started this process yesterday, so I'm still a bit unfamiliar with the API and can't find this information anywhere.
How do I add a warning panel to the body of a Confluence page using HTML? I've tried a few things, but this is the closest I've gotten:
That said, that snippet only makes the panel box appear--I don't know how to get the text to show or how to change its colors. In fact, I tried changing the macro name to "warning" but the API gave me an error back.
@Jake Brehm Welcome to the Atlassian community
Just incase you have not found a fix for this I believe that the macro you want to inert is:
<ac:structured-macro ac:name="warning">
<ac:parameter ac:name="title">useful tip</ac:parameter>
<ac:parameter ac:name="body">block of text that is in the tip macro</ac:parameter>
</ac:structured-macro>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.