Description
Warning | ||
---|---|---|
| ||
Please note that the URL user and URL password parameters will not be available for accessing URLs in future releases. We recommend using profiles to access your data from remote locations to avoid any potential security risks. |
This article illustrates how to create a profile in the Markdown macros from a URL macro using a URL.
Info | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Before you begin:
is a raw URL.
|
There are three ways to work with URLs where you can use:
- An absolute URL in a profile
- A partial URL in a profile
- An absolute URL directly instead of via a profile
...
Navigate to CONFLUENCE ADMINISTRATION > Settings > ATLASSIAN MARKETPLACE > Markdown Configuration > Profiles.
Click Add Profile.
- Enter a unique name for the profile in the Profile name text box. For this example, enter BitURL in the text box.Select URL
- Select URL from the options in Profile type.
Enter the complete path of the required Markdown file (for example: https://bitbucket.org/bob_swift/gint/raw/9c1b737cf0ff28ddf7cbbd199685e533d310ce9f/README.md) in the URL text box.
Click Save profile to create the profile.
To use this profile in a Confluence page:
- Search for Select the required Markdown from a URL macro and edit it.
- Select BitURL from the profile with the absolute path of the Markdown file from the Profile list and then, click Save.
...
You can create a profile by providing a partial URL for the Markdown content and entering relative path to the Markdown file in the markdown-url macro Markdown from a URL macro.
Navigate to CONFLUENCE ADMINISTRATION > Settings > ATLASSIAN MARKETPLACE > Markdown Configuration > Profiles.
Click Add Profile.
- Enter a unique name for the profile in the Profile name text box. For this example, enter BitURL in the text box.
- Select URL Select URL from the options in Profile type.
Enter the base URL (for example: https://bitbucket.org) in the URL text box.
Click Save profile to create the profile.
...
To use this profile in a Confluence page:
- Search for the markdown-url macro Select the required Markdown from a URL macro and edit it.
- Select BitURL from Select the profile with the base URL of the required Markdown file from the Profile list in the editor.
- Enter the relative path to the Markdown file (for example: /bob_swift/gint/raw/9c1b737cf0ff28ddf7cbbd199685e533d310ce9f/README.md Markdown file in ) in the URL to markdown file parameter.
- Click Save.
...
- In a Confluence page, search for the Markdown from a URL macro and edit it.
- Enter the complete path of the required Markdown file (for example: https://bitbucket.org/bob_swift/gint/raw/9c1b737cf0ff28ddf7cbbd199685e533d310ce9f/README.md) in the the URL to markdown file parameter.
- Click Save.
...