Description
This article illustrates the process of adding a GitHub profile in the Markdown-url macro.
Before you begin:
To add a profile, you will need the following:
Markdown-url macro
- Username and personal access token for GitHub profile.
- Path to markdown raw file hosted on GitHub.
- Filename of the raw file.
- GitHub API URL.
Global Configuration settings:
- Whitelist the URL for GitHub.
- To ensure that the Markdown-url macro renders the file without errors, enable Allow JavaScript.
Add a GitHub Profile
Steps
Navigate to CONFLUENCE ADMINISTRATION > General Configuration > BOB SWIFT CONFIGURATION > Markdown macro > Profiles.
Click Add Profile.
- Enter a profile name in the Profile name text box.
- Select GitHub from the options in Profile type.
Enter the API URL for GitHub in the URL text box.
- Enter the personal access token for your GitHub profile in the Access token text box.
- You will notice that the Header parameters are auto-filled.
- Click Save profile to create a Profile.
Markdown-url Macro