You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remark excerpt hides all after the mark. That is fine but there is no way to show the rest because there is not button / function to display the rest after the mark.
As a Remark plugin in preprocessing, e..g. Vite, Svekte, mdsvex I do not see ho to use this plugin to show all content after the mark.
mdsvex.config.js
import{defineMDSveXConfigasdefineConfig}from'mdsvex';importexcerptfrom'remark-excerpt';// import examples from './src/lib/remark.js'constconfig=defineConfig({extensions: ['.svelte.md','.md','.svx'],smartypants: {dashes: 'oldschool'},remarkPlugins: [excerpt],rehypePlugins: []})exportdefaultconfig
The text was updated successfully, but these errors were encountered:
Run the blog and click on a post. You only see the excerpt all the time, even when you want to see the full post.
I want to get the pre-processed excerpt as a property in the metadata object for a post called excerpt, rather than overwriting what otherwise returns the full post. I still want all the same remark/rehype plugins to apply to the excerpt that do to the full post. We want to be able to show just the excerpt on the post summary and the full post when rendering the full post.
Remark excerpt hides all after the mark. That is fine but there is no way to show the rest because there is not button / function to display the rest after the mark.
As a Remark plugin in preprocessing, e..g. Vite, Svekte, mdsvex I do not see ho to use this plugin to show all content after the mark.
mdsvex.config.js
The text was updated successfully, but these errors were encountered: