Skip to content

JSDoc @example highlighting only works if the example is right next to the comment * #1235

@Anthony-Gaudino

Description

@Anthony-Gaudino

On following example the @example of JSDoc is highlighted:

/**
 * @example
 *let a = 10;  // This line is highlighted.
 */

But, if there's a space between the * and the code it doesn't highlight:

/**
 * @example
 * let a = 10;  // This line is not highlighted.
 */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions