Versions Compared

Key

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

Parameters

...

The Markdown-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.

Parameters

Macro browser labelDefaultDescriptionMacro parameter
Page for attachmentcurrent pageRefers to the page where the Markdown file is present.page
Name of attachment<required>Name of the attachment with the file extension.name
File encodingsystem defaultFile encoding

Encoding for an external file if different from the system default

hanlding

handling.

encoding

Common parameters

Include Page
Common parameters
Common parameters

Basic

...

use

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

Selected from the
Macro Browser
macro browserMarkdown from an attachment
Markup
Shortcut
shortcut{markdown-attachment}

Screenshot

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

Image RemovedImage Added