'Copy as macro' is missing for a template

What you are seeing

'Copy as macro' is missing for a template.


#Why it happens

Reference URLs are only produced for custom-content-backed documents. The bundled Examples comes with code, and URL- or attachment-sourced markdown has no referenceable id.


#What to do

Copy the example into a space or global template first, then copy that as a macro.


#Settings involved

Setting

Where

What it does

Global settings → Capabilities → Markdow

-

Hiding Markdown removes it from the Capable nav bar and the content byline menu across the site (app property capable-global-hidden-capabilities). It does NOT stop existing macros from rendering.

Global settings → Permissions

-

Controls edit access to the GLOBAL asset store. Which is what governs who may create Global markdown templates. It is shared with diagrams, images, calendar and search because they all use one Confluence custom content t

Global settings → Migration

-

Markdown is not on the tab's exclusion list, so the tab ships.


#Limits that apply here

Limit

Value

What happens

Large-document scroll mode

500,000 characters

Past this the document macro shows '⚠️ Large content detected. Rendering in scrollable mode.' and renders inside a fixed 1200px-high scroll box instead of inline.

Virtualised rendering threshold

500,000 chars ; 1,000,000 chars (large p

Above the threshold the document is chunked (400 lines or 60,000 characters per chunk, fences kept intact) and only visible chunks are rendered.

Macro title and description input length

50 characters each

The macro config's 'Markdown title' and 'Markdown description' fields and the from-scratch editor's title field all stop at 50 characters.



Found it? Good.