-
Notifications
You must be signed in to change notification settings - Fork 4.7k
docgen: add <caption> to @example tag #14331
Copy link
Copy link
Closed
Labels
[Tool] Docgen/packages/docgen/packages/docgen[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
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)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Tool] Docgen/packages/docgen/packages/docgen[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.