Skip to content

Instantly share code, notes, and snippets.

@seantrane
Last active May 7, 2018 22:08
Show Gist options
  • Save seantrane/2db794f66048642c68da83a318d8ac02 to your computer and use it in GitHub Desktop.
Save seantrane/2db794f66048642c68da83a318d8ac02 to your computer and use it in GitHub Desktop.
User Macros for Atlassian Confluence

Confluence User Macros

Here are some User Macros for Atlassian Confluence.

## Macro name: aui-button
## Macro title: AUI Button
## Macro description: Add a "default" call-to-action button.
## Macro has a body: N
## @param Title:title=Title|type=string|required=true
## @param URL:title=URL|type=string|required=true
<a href="$paramURL"><button class="aui-button">$paramTitle</button></a>
## Macro name: aui-header-nav
## Macro title: AUI Header Nav
## Macro description: Add a nav-bar header.
## Macro has a body: Y
## Body processing: Rendered
## Output: Rendered
##
## Developed by: Sean Sciarrone
## Date created: 2018-02-01
## Installed by: Sean Sciarrone
## @noparams
<nav class="aui-header">
<ul class="aui-nav">
$body
</ul>
</nav>
## Macro name: aui-nav-list-item
## Macro title: AUI Nav List Item
## Macro description: Add a linked list item to nav.
## Macro has a body: N
## @param Title:title=Title|type=string|required=true
## @param URL:title=URL|type=string|required=true
<li><a href="$paramURL">$paramTitle</a></li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment