Last active
May 23, 2019 10:06
-
-
Save rijnhard/9d36c2803c6f967bd99c to your computer and use it in GitHub Desktop.
[Confluence Apiary embed] #confluence #api #documentation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Macro title: Apiary | |
## Macro has a body: Y | |
## Body processing: Selected body processing option | |
## Output: Selected output option | |
## | |
## Developed by: Rijnhard Hessel | |
## Date created: 10/02/2016 | |
## This is an example macro | |
## @param Subdomain:title=Subdomain|type=string|required=true|desc=Apiary subdomain to load | |
<div id='apiary'> | |
<script type='text/javascript' src="https://api.apiary.io/seeds/embed.js"> | |
</script> | |
<script type='text/javascript'> | |
AJS.toInit(function(){ | |
var embed = new Apiary.Embed({ | |
subdomain: '$paramSubdomain' | |
}); | |
}); | |
</script> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment