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

current page
Macro Browser LabelParameterParametersDefaultDescriptionPage for attachmentpage
Location of Markdown data
  • ^attachment
  • page^attachment
  • space:page^attachment
^attachment

Refers to the

page

location where

the

Markdown

file

content is present.

Name of attachmentname<required>Name of the attachment with the file extension
  • ^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.
File encodingencodingsystem default

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

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