Skip to content

Markdown link targets are lost in :doc #13312

@roberth

Description

@roberth

Describe the bug

nix repl renders markdownlinks as normal text in yellow.

Steps To Reproduce

Load a flake with documented attributes, and use :doc on it.

nix repl nixpkgs
:doc lib

Expected behavior

Render OSC 8 codes to make the link work.

Alternatively, links could be rendered as a list of references at the end.

Metadata

Additional context

Checklist


Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.replThe Read Eval Print Loop, "nix repl" command and debugger
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions