Skip to content

Type declaration and inline code blocks look identical #592

Description

@mootari

When a docblock contains code examples, the code is displayed in the exact same style as the type declarations, making them difficult to tell apart. A simple solution might be to indent these code blocks.

Example: https://www.jsdocs.io/package/@types/vscode#vscode.extensions (raw file, unpkg truncates the highlighted output)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions