Skip to content

Regression: @linkcode neither produces link nor is symbol displayed as inline code #2934

Closed
@ap-b12

Description

@ap-b12

Search terms

linkcode

Expected Behavior

“SomeClass” in the description for constructor should:

  1. Link to SomeClass.
  2. Be rendered as inline code.
export SomeClass {

    /**
     * Creates an instance of {@linkcode SomeClass}.
     */
    constructor() { }

}

This is working with TypeDoc v0.27.9, but fails to produce the same expected output starting with v0.28.0.

Actual Behavior

The symbol is displayed as plain text.

Steps to reproduce the bug

See TypeStrong/typedoc-repros#51.

Environment

  • Typedoc version: 0.28.2
  • TypeScript version: 5.8.3
  • Node.js version: 20.18.1
  • OS: Linux Mint 21.3 Cinnamon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions