Description
This article illustrates the process of adding a GitHub profile to a Markdown macro.
Before you begin:
To add a profile, you will need the following:
- Personal access token for GitHub profile
- GitHub API URL
Global Configuration settings:
- Whitelist the URL for GitHub
Steps
Navigate to CONFLUENCE ADMINISTRATION > Settings > ATLASSIAN MARKETPLACE > Manage apps > Bob Swift Atlassian Add-ons - Markdown > Configure > Profiles.
Click Add Profile.
Enter a unique profile name in the Profile name text box.
Ensure that you provide a unique profile name. If you add a profile name that already exists, Markdown will replace the existing profile.
- Select GitHub from the options in Profile type. Notice that the Request headers parameter is auto-filled.
Enter the API URL for GitHub in the URL text box. For example, https://api.github.com/repos.
To know more about URLs, refer to Create a profile with a URL.
- Enter the personal access token for your GitHub profile in the Access token text box.
- Click Save profile to create a profile.