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
- Whitelist the GitHub URL in Configuration settings
Steps
Navigate to CONFLUENCE ADMINISTRATION > Settings > ATLASSIAN MARKETPLACE > Markdown Configuration > 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 enter a profile name that already exists, the existing profile gets replaced with the given information.
- 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.