Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Once you have created To embed content directly from your repositories, perform the following steps:

  1. Create a snippet in your repository. The following are the

...

  1. repositories supported:

    1. Bitbucket Server (requires Snippets add-on for Bitbucket Server 3.1.0 or later)

    2. Bitbucket Cloud

      Image Added


      To know more about snippets in Bitbucket, click here.

    3. GitHub Gist: To know more about how to create snippets in the GitHub Gist, click here.

  2. Create a snippet using snippet macro.

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 that you want to embed a single file of from the snippet. Leave the parameter blank to embed all the files of the snippet.

Snippet macro

Once you have created a snippet in the Bitbucket server, Bitbucket cloud, or GitHub gist, you can now add the snippet to your documentation.

To create a Snippet macro, Perform the following steps:

...