Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Parameters

...

The Markdown from an attachment macro renders Markdown content from attachments located in the same or different pages and/or spaces. 

Info

The Markdown content is rendered based on the permissions of the page and/or space. Any attachment available in a public location can be accessed and the Markdown content can be rendered. Currently, any links or images in Markdown content referring to a private repository, or a location that must be logged in to, cannot be accessed and thus, rendered.


Basic use

This macro can be deployed using one of the following methods:

Selected from the Macro BrowserMarkdown from an attachment
Markup Shortcut{markdown-attachment}

Parameters

Macro specific parameters

Macro Editor LabelDefaultDescriptionMacro Parameter
Page for attachmentAttachment on the same page
current pageRefers to the page where the Markdown file is present.

Enter the page and/or space name, that contains Markdown content, in the text box.

page
Name of attachment
name
<required>
Name

Enter the name and the extension of the

attachment

file with the

file extension.File encodingencodingsystem defaultEncoding

Markdown content in the text box. This is a mandatory field.

The following Markdown file extensions are applicable:

  • markdown
  • md
  • mdown
  • mkdn
  • mkd
  • mdwn
  • mdtext
  • txt
  • text
name
File encodingUTF-8

Specify the encoding for an external file, if different from the default system

default

handling.

encoding

Common parameters

The following parameters are available for all Markdown macros:

Include Page
Common parameters - Cloud
Common parameters

Basic Use

This macro can be deployed using one of the following methods:

...

Screenshot

  • Example using an attachment on the same page named: README.md.

Image Removed

- Cloud

Screenshot

Image Added