Skip to content

Instantly share code, notes, and snippets.

@jldubz
Last active December 1, 2021 15:38
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 jldubz/07031894238ab4108b31addd1df041a8 to your computer and use it in GitHub Desktop.
Save jldubz/07031894238ab4108b31addd1df041a8 to your computer and use it in GitHub Desktop.
This is a user macro for Confluence Server. I felt a need to emphasize questions that need to be answered in docs and none of the existing formatting macros did the trick.
## Macro title: Question
## Macro has a body: Y
## Body processing: rendered
## Output: block
##
## Developed by: Jon-Luke West
## Date created: 01/12/2021
## Installed by: Jon-Luke West
## Highlights content as a question with a purple background
## @noparams
<div class="confluence-information-macro confluence-information-macro-question output-block">
<span class="aui-icon aui-icon-small aui-iconfont-question-filled confluence-information-macro-icon"></span>
<div class="confluence-information-macro-body">$body</div>
</div>
.confluence-information-macro-question {
background-image: initial;
background-color: rgb(249, 244, 255);
border-color: rgb(98, 62, 232);
}
.confluence-information-macro-question .aui-iconfont-question-filled {
color: rgb(98, 62, 232);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment