Warning | ||
---|---|---|
| ||
Please note that the URL user and URL user password parameters were removed (see Deprecation notice: URL user and URL user password parameters). We recommend using profiles to access external data. |
Description
This article illustrates how to create a Profile profile in the Markdown from a URL macro using a URL.
...
Info | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Before you begin:
is a raw URL.
|
You can work with URLs in three ways:
|
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
Anchor MD_Cld_HowTo_CompleteURL MD_Cld_HowTo_CompleteURL
Using an absolute URL in a profile
MD_Cld_HowTo_CompleteURL | |
MD_Cld_HowTo_CompleteURL |
You can create a profile by providing the complete URL for the Markdown content.
Navigate to CONFLUENCE ADMINISTRATION > General Configuration > BOB SWIFT CONFIGURATION > Settings > ATLASSIAN MARKETPLACE > Markdown Configuration > Profiles.
Click Add Profile.
- Enter BitURL a unique name for the profile in the Profile name 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 a Profilethe profile.
...
To use this profile in a Confluence page:
- Select the required Markdown from a URL macro
...
- and edit it.
- Select the profile with the absolute path of the Markdown file from the Profile list and then, click Save.
...
Anchor MD_Cld_HowTo_FixedURL MD_Cld_HowTo_FixedURL
Using a partial URL in a profile
MD_Cld_HowTo_FixedURL | |
MD_Cld_HowTo_FixedURL |
You can create a profile by providing a fixed partial URL for the Markdown content and enter the entering relative path to the Markdown file in the markdown-url macro Markdown from a URL macro.
Navigate to CONFLUENCE ADMINISTRATION > General Configuration > BOB SWIFT CONFIGURATION > Settings > ATLASSIAN MARKETPLACE > Markdown Configuration > Profiles.
Click Add Profile.
- Enter BitURL a unique name for the profile in the Profile name 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 a Profileprofile to create the profile.
7. Select BitURL from
To use this profile in a Confluence page:
- Select the required Markdown from a URL macro and edit it.
- 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
...
- ) in the URL to markdown file parameter.
...
- Click Save.
Info |
---|
This method allows multiple users to access a profile across pages and instances of the markdown-url macro. |
...
Anchor MD_Cld_HowTo_AbsoluteURL MD_Cld_HowTo_AbsoluteURL
Using an absolute URL directly
MD_Cld_HowTo_AbsoluteURL | |
MD_Cld_HowTo_AbsoluteURL |
You can skip creating a profile and provide enter the complete absolute URL in the URL to markdown file parameter in the macro editor.
...
.
- 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 ) in the the URL to markdown file parameter.
- Click Save.
...