Skip to content

docgen: add <caption> to @example tag #14331

@oandregal

Description

@oandregal

When there are multiple examples -for instance: ES5 syntax and ESNext syntax- it's useful to caption them or even present them tabbed, like in the Gutenberg handbook. We could use the caption metadata to process this.

See discussion at #14263 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    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