Skip to content

Codex Desktop: support deep links to Markdown headings from chat and rendered docs #24383

@kingces95

Description

@kingces95

Bug / Feature Request

Codex Desktop renders local Markdown file links from chat well enough to open the target file, but heading anchors do not appear to work.

For example, a chat link to:

C:/Users/chris/GitHub/service-gpt-copy-paste/gpt/models/container-part.model.md#preconditions

opens the Markdown file, but does not navigate to the ## Preconditions heading. The same problem appears inside rendered Markdown docs themselves: links from a table of contents to headings in the same document do not jump to the target section.

Expected Behavior

Markdown links with heading fragments should navigate to the heading target:

  • From Codex chat into a local Markdown file heading.
  • From one local Markdown doc to another local Markdown doc heading.
  • From a local Markdown doc to a heading in the same rendered doc.

Actual Behavior

The file opens, but the #heading-fragment is ignored.

Why This Matters

We are using gpt/models/*.md files as durable design models and commit-note references. Codex chat can already provide useful clickable file links, but without heading support, model docs become harder to navigate as they grow.

This would make model-heavy workflows much better: Codex could draft a note in chat with deep links to exact model sections, then publish those same links into the docs.

Example Workflow

A commit note includes links to sections such as:

  • Container Part Model
  • Preconditions
  • STL Name Basis
  • STL Argument Order
  • JS Overload Names
  • Member Index
  • Lexeme Index

Each item should link directly to its section in gpt/models/container-part.model.md.

Environment

  • Codex Desktop app
  • Windows
  • Local workspace Markdown files
  • Links generated from Codex chat and from rendered Markdown docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type
    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