Content excerpt support
See original GitHub issueDescribe the solution you’d like
Please provide a way to fetch plain content body texts (not the body object of the current fetching result), in order to display excerpt on pages such as content list view. Feature like Content Excerpt of VuePress would be awesome.
Describe alternatives you’ve considered
Having <nuxt-content>
prop for displaying excerpt and other selected content properties would be useful too.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How to Add Excerpts to Your Pages in WordPress - WPBeginner
Excerpts are short extracts from your content and help add a description, summary, or small details about the page. By default, excerpts in ......
Read more >Excerpts – WordPress.com Support
Excerpts are ideal for creating one to two sentence descriptions of the content on a page or post. These excerpts can be used...
Read more >the_excerpt() | Function - WordPress Developer Resources
Displays the excerpt of the current post after applying several filters to it including auto-p formatting which turns double line-breaks into HTML paragraphs....
Read more >How to Customize Post Excerpts - Support Center
However, you may not want to use any content from your post as the excerpt. You can create an entirely custom excerpt for...
Read more >WordPress Excerpt: Use for Posts, Pages & Custom Post Types
Which WordPress post types support excerpts? ... Now you can edit the Excerpt via the meta field which appears below the main content...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@benjamincanac Sorry for misunderstanding. On the latest commit I succeeded in retrieving only plain excerpt texts using remark plugin properly and retext-stringify plugin additionally.
This workaround should be enough until it is officially supported in a more integrated way. Thank you.
@imlautaro This has been implemented in the core of @nuxt/content since then: https://content.nuxtjs.org/writing#excerpt.