diff --git a/src/docs/readme-updater-plugin.js b/src/docs/readme-updater-plugin.js index def2bc616..561ea5610 100644 --- a/src/docs/readme-updater-plugin.js +++ b/src/docs/readme-updater-plugin.js @@ -85,7 +85,7 @@ ${ .map(item => { if (item.tag === '@example') { return ` -## Example +## Example${item.name ? ` - ${item.name}` : ''} ${ item.content