The Markdown from a URL macro renders Markdown content from URLs or from profiles. Profiles are a means of retrieving data from other external sources such as other applications or even databases. You can read more about profiles from this link.
This macro can be deployed using one of the following methods:
Selected from the Macro Browser | Markdown from a URL |
---|---|
Markup Shortcut | {markdown-url} |
Macro Editor Label | Default | Description | Macro Parameter | |
---|---|---|---|---|
Profile | Enter a profile name. Administrators set up profiles to connect to other applications such as GitHub or GitLab. Contact your administrator to know more about the profiles used in your instance. To know more about how profiles are configured, refer to this link. | profile | ||
URL to markdown file | Enter the relative path to the Markdown file(s) to be displayed. If a valid path is entered here, the macro accesses the given location and processes the content accordingly. A profile comprises a base URL and other credentials that are required to access a specific application. These details point to the actual location where the required Markdown file(s) are available. The contents are then accessed and displayed through the macro.
| url | ||
URL user | Enter the user name for URL access that requires basic authentication. | user | ||
URL password | Enter the user password for URL access that requires basic authentication. | password | ||
URL connection timeout | Enter time in milliseconds such that URL connections do not timeout before getting data. Use this to increase the access time needed for slow connections. Note that if a zero is given the connection may wait infinitely. | timeout | ||
File encoding | UTF-8 | Specify the encoding for an external file, if different from default system handling. | encoding |
It is mandatory to specify either a profile or a URL for this macro. |
Depending on the values provided for the Profile and URL to markdown file parameters, the following process applies:
|
The following parameters are available for all the Markdown macros:
The following example uses an absolute URL in URL to markdown file of the macro settings: