Skip to content

Same-space page links are dropped (rendered as plain text) when reading a page as Markdown #215

Description

@franzen

Description:

confluence read <id> --format markdown silently drops links that point from one page to another page in the same space - they are emitted as plain text instead of a Markdown link.

External links (https://…) and raw <a href> links convert correctly; only intra-space page links are lost.

The same limitation means a Markdown round-trip (read --format markdown → edit → update --format markdown) cannot preserve internal page links.

Steps to reproduce the behavior:

  1. In Confluence, create a page containing a link to another page in the same space.
  2. Run confluence read <id> --format markdown.
  3. In the output, the link appears as its plain link text with no […](…) — the reference is gone. confluence read <id> --format storage still shows the original <ac:link>…</ac:link>.

Environment:

  • OS: Linux (WSL2)
  • Node.js version: 24.18.0
  • confluence-cli version: 2.16.1
  • Confluence version: Cloud

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions