Warning | ||
---|---|---|
| ||
Please note that the URL user and URL user password parameters were removed in 3.8.2 (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 using a URL in the Markdown app using from a URLmacro.
Info | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Before you begin:
is a raw URL.
|
You can work with URLs in three two ways where you can:
- Use
...
- an absolute URL in the profile
- Use a partial URL in the profile
Anchor md_URLProfile_absURL md_URLProfile_absURL
Use an absolute URL
md_URLProfile_absURL | |
md_URLProfile_absURL |
You can create a profile by providing the complete absolute URL for to access the Markdown content from a remote location.
Navigate to CONFLUENCE ADMINISTRATION > General Configuration > BOB SWIFT CONFIGURATION > Markdown > 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 https://bitbucket.org/bob_swift/gint/raw/9c1b737cf0ff28ddf7cbbd199685e533d310ce9f/README.mdthe relevant absolute URL of the location to be accessed in the URL text box.
Click Save profile to create a Profileprofile.
...
To use this profile in a Confluence page:
- Add the Markdown from a URL macro,
...
- or edit an existing macro on a page.
- Select the newly created profile from the Profile
...
- drop-down, and click Save.
8. Click Save
Anchor md_URLProfile_partialURL md_URLProfile_partialURL
Use a
md_URLProfile_partialURL | |
md_URLProfile_partialURL |
...
partial URL
You can create a profile by providing a fixed partial URL for the Markdown content, and enter the relative path to the Markdown file in the markdown-url Markdown from a URL macro.
Navigate to CONFLUENCE ADMINISTRATION > General Configuration > BOB SWIFT CONFIGURATION > Markdown > Profiles.
Click Add Profile.
- Enter BitURL in the a unique name for the profile in Profile name text box.
- Select URL Select URL from the options in Profile type.
Enter https://bitbucket.orgthe base URL in the URL text box. A base URL is a part of the path that specifies the location that the macro must access.
Click Save profile to create a Profileprofile.
7. Select BitURL from the Profile list in the markdown-url
To use the profile in a Confluence page:
- Add the Markdown from a URL macro, or edit an existing macro on a page.
- Select the newly created profile in Profile in the macro editor.
...
- Enter the relative path
...
- of the Markdown
...
- file in the URL to markdown file parameter.
...
- The relative URL is appended to the base URL specified in the profile to create an absolute path to the file to be rendered.
- Click Save.
...
Info | ||
---|---|---|
| ||
|
Skip creating a profile
You can skip creating a profile and provide the complete URL in the URL to markdown file parameter in the macro editor.
- Enter https://bitbucket.org/bob_swift/gint/raw/9c1b737cf0ff28ddf7cbbd199685e533d310ce9f/README.md in the the URL to markdown file.
- Click Save.
|