Skip to content

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

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.
 */

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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