Skip to content

Instantly share code, notes, and snippets.

@trgraglia
Created July 18, 2018 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trgraglia/b1f97b3b4c87f50a28be2737b6e1d589 to your computer and use it in GitHub Desktop.
Save trgraglia/b1f97b3b4c87f50a28be2737b6e1d589 to your computer and use it in GitHub Desktop.
## Confluence -> General configuration -> User Macros -> Create a User Macro
##
## Definition of User Macro -> Macro Body Processing -> No macro body
## Definition of User Macro -> Template -> (Use below code snippet including ## @param ...)
## @param space:title=Space|type=spacekey
<div style="">
<a href="/confluence/pages/createblogpost.action?spaceKey=$paramspace" class="aui-button">
<span>Create News Post</span>
</a>
</div>
@trgraglia
Copy link
Author

The "href" attribute may not need to include "/confluence" depending on your installation settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment