Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a custom python macro

Scott Federman
Contributor
May 9, 2019

I am trying to create a custom code block macro in confluence that automatically presets the parameters. I have not had any luck. How would I write this macro?

{code:language=python|linenumbers=true|theme=RDark}

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 13, 2019

Hello Scott,

To ensure we’re understanding your request, could you please clarify something for us; Are you wanting to include formatted python code within a code macro OR are you wanting to create a User macro with Python?

Further information on user macro creation may be found at Writing User Macros.

This information will help to ensure we provide a proper solution for your requirements.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events