Skip to content

PlatyPS: Export-MarkdownCommandHelp renders .LINK entries as unusable markdown links #248

Description

@bravo-kernel

Tracks an upstream PlatyPS bug we currently shim around. Context: #241 (v2 migration).

Problem

Export-MarkdownCommandHelp renders bare-URL .LINK entries as [](https://example.com/docs) (a link without clickable text, invisible on most sites) and text-only entries as [about_CommonParameters]() (a link without a target).

Our mitigation

Source/Private/RepairRelatedLinks.ps1 rewrites the RELATED LINKS section: bare URLs get the URI as link text, text-only entries become plain list items.

Upstream

  • UPSTREAM-ISSUE-URL

Retire when

An upstream fix ships in a PlatyPS release newer than our RequiredModules pin (currently 1.0.2): bump the pin — the golden fixtures will show exactly when RepairRelatedLinks becomes a no-op — then remove the shim and regenerate fixtures.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalExternal Dependency

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions