Versions Compared

Key

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

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

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

Enter the page or file location where Markdown content is present.

  • ^attachmentRead content from an attachment to the page name where the macro is located.
  • page^attachment: Read content from an attachment to the specified page name.
  • space:page^attachmentRead content from an attachment to the page name available in the specified space name.
page
Name of attachment<required>Enter the file name with the Markdown content. This is a mandatory field.name
File encodingUTF-8

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

encoding

...