Skip to end of banner
Go to start of banner

Snippet macro

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Once 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:

  1. Create a new page or go to Edit the page where you want to add the snippet.

  2. Type / or click the + icon.

  3. Select Snippet and Click Insert. The Insert 'Snippet' Macro window is displayed.

  4. Enter the following details and click Insert.

    1. Snippet URL

    2. File

For more information, see Parameters.

  • No labels