\n\n### Reproduction\n\nnone\n\n### Expected behavior\n\nThe text inside the Badge component should not wrap and should remain on the same line to avoid disrupting the table layout.\n\n### System Info\n\n```Text\nnone\n```\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [x] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [x] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [x] Read the [docs](https://vitepress.dev).\n- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2955],{"name":2907,"color":2908},4764,"Badge component unexpectedly breaks line in tables with long text","2025-05-27T08:28:39Z","https://github.com/vuejs/vitepress/issues/4764",0.7838467,{"description":2962,"labels":2963,"number":2964,"owner":2869,"repository":2870,"state":2965,"title":2966,"updated_at":2967,"url":2968,"score":2969},"### Is your feature request related to a problem? Please describe.\n\nYes, the feature request is related to a problem I've encountered while authoring Markdown documents for VitePress. Currently, there isn't an automated way to generate the description meta tag for pages, which is essential for SEO purposes. Manually crafting descriptions for each page can be time-consuming and prone to inconsistency.\r\n\r\n我希望实现自动填充 ```description:``` 内容,然后解放双手。\n\n### Describe the solution you'd like\n\nI propose implementing an automated feature in VitePress that generates a description meta tag based on the content of the Markdown document. This could be achieved by integrating a summary extraction plugin similar to markdown-summary, which would analyze the document and provide a concise summary to be used as the page description.\r\n\r\n\n\n### Describe alternatives you've considered\n\nI've considered two main alternatives for implementing the automatic description generation feature:\r\n\r\n1. **VSCode Extension:** Developing a VSCode extension that integrates with VitePress projects. This extension could provide a command or shortcut that, when triggered, analyzes the current open Markdown file and suggests a description based on its content. Users would have to install the extension and use it manually, but it would be a convenient way to generate descriptions directly within their development environment.\r\n2. **VitePress Configuration Option:** Another approach is to enhance VitePress itself with a new configuration option that allows for automatic description generation. When this feature is enabled, VitePress would automatically analyze each Markdown file during the build process and inject a description meta tag with a summary extracted from the content. This would be a seamless solution that requires no additional tools or extensions, making it accessible to all VitePress users.\r\n3. **AI-Powered Description Generation:** Implementing an AI-based solution that analyzes the content of Markdown files and uses natural language processing to generate high-quality, engaging descriptions. This approach could potentially offer more sophisticated and context-aware descriptions, improving both user experience and SEO effectiveness.\r\n\r\n\r\n\r\nBoth alternatives have their merits. The VSCode extension offers immediate control and integration for developers who use VSCode, while the VitePress configuration option provides a more universal solution that benefits all users, regardless of their development environment.\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],3944,"closed","Feature Request: Auto-generate Page Descriptions in VitePress for SEO Optimization","2024-06-14T04:41:49Z","https://github.com/vuejs/vitepress/issues/3944",0.74029636,["Reactive",2971],{},["Set"],["ShallowReactive",2974],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$facD_-mfmcjbU9UEIgcyYRYTcBUsY_WOh2Z9fc3IE8Ns":-1},"/vuejs/vitepress/3865"]