Hi @Zu Jiry
Can you try with:
<ac:structured-macro ac:name="code">
<ac:plain-text-body>
<![CDATA[def authenticate(): confluence = Confluence( url='https://confluence.custom.de', username=os.environ['CONFLUENCE_USER'], password=os.environ['CONFLUENCE_API_TOKEN'], cloud=False ) return confluence
]]>
</ac:plain-text-body>
</ac:structured-macro>
Let me know if this worked.
Regards, Dominic
@Zu Jiry @Dominic Lagger How does one know a specific "code" of ac:macro/macro ID ?
Or where should i get them in confluence ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Pres Hi.
So, the workaround I used is to use the macro in confluence where you can just implement it normally. Then look at the page source code (HTML) of it.
Be mindful, that you might not need to implement every parameter yourself found in the HTML code. There are some, that confluence automatically adds, but you will have to figure out which ones...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.