Skip to Content
Atlassian Confluenceacp2mdv1.0.xExtensions & Macros

Supported Extensions & Macros

acp2md uses the same conversion engine as ac2any. That engine recognizes a broad catalog of Confluence extensions, marketplace-app macros, embeds, and media types and decides, element by element, whether to render real content from Confluence or preserve the original element as a safe HTML comment.

All extension handling is enabled by default. If one extension is missing the context it needs, that element falls back to an HTML comment, a warning is emitted in the logs, and the rest of the page still converts normally.

Supported categories

CategoryWhat acp2md rendersOperational note
Images and mediaInline images, Confluence-hosted media files, and non-image attachments such as PDF, Office, and archive filesNon-image attachments are saved as sidecar files beside the Markdown so the export remains self-contained
Diagramsdraw.io and Roadmap Planner diagramsRendered as embedded base64 PNGs
Page-listing macrosPage Tree, Children, Recently Updated, Blog Posts, Content by Label, and List LabelsSome page-level runs need explicit space context for clean resolution
People and activity macrosContributors, Task Report, and Content Report TableRendered as Markdown lists or tables
Document controlPage SignaturesRendered as a signatures table or a reviewers fallback table
QC documentsqc-property-macro and qc-revision-macroResolves template placeholders into actual page metadata
Cards and embedsInline cards, embed cards, and block cards for Jira, Confluence, and YouTubeProduces human-readable links instead of opaque raw markup
Lossless fallbackAnchors, excerpts, bodied extensions, and unrecognized macrosPreserved as HTML comments so content is not silently dropped

Flags that control extension behavior

For the full page-conversion syntax, examples, and output behavior, use Convert Pages.

Images and media

FlagDefaultWhat it controls
--embed-imagestrueEmbed images as base64 data URIs
--ext-embed-drawiotrueEmbed draw.io diagrams as base64 images
--ext-embed-roadmaptrueEmbed Roadmap Planner diagrams as base64 images
--embed-media-imagestrueEmbed Confluence media files such as avatars and inline images as base64 data URIs

Extension rendering

FlagDefaultWhat it controls
--ext-render-toctrueGenerate a Markdown table of contents from document headings
--ext-render-recently-updatedtrueRender the recently-updated macro as a Markdown list
--ext-render-listlabelstrueRender label badges
--ext-render-pagetreetrueRender the pagetree macro as a nested Markdown list
--ext-render-childrentrueRender the children macro as a flat Markdown list
--ext-render-contributorstrueRender the contributors macro as a Markdown list
--ext-render-page-signaturestrueRender Document Control signature tables
--ext-render-qc-propertiestrueRender QC property and revision macros with their actual values
--ext-render-task-reporttrueRender the tasks-report-macro as a Markdown table
--ext-render-content-reporttrueRender the content-report-table macro as a Markdown table
--ext-resolve-inline-card-titlestrueResolve inline Confluence card links to their actual page titles

Context-sensitive behavior

  • --space-key is required when a page-level conversion needs space-aware rendering for --ext-render-recently-updated or --ext-render-listlabels.
  • --ext-render-task-report and --ext-render-content-report rely on live Confluence data during conversion.
  • Pass --embed-images=false when smaller output is more important than a fully self-contained Markdown file.

When to inspect complexity first

Use Count & Analyze before conversion when you need to estimate how macro-heavy or formatting-heavy a page is before migration, publishing, or AI ingestion.

Last updated on