Using the snippet in the ConfluenceOnce you have created a snippet in the Bitbucket server, Bitbucket cloud, or GitHub gist, you can now add the snippet to your documentation.
Parameters
Parameter | Mandatory | Description |
---|---|---|
Snippet URL | Yes | Enter the URL to the snippet you want to embed. |
File | No | Enter the name of the file. If you want to embed a single file of the snippet. Leave blank to embed all files of the snippet. |
Snippet macro
To create a Snippet macro, Perform the following steps:
Create a new page or go to Edit the page where you want to add the snippet.
Type / or click the + icon.
Select Snippet and Click Insert. The Insert 'Snippet' Macro window is displayed.
Enter the following details and click Insert.
Snippet URL
File
Info |
---|
For more information, see Parameters. |