-
It would be great to have a plugin that can truncate a markdown document to produce an excerpt which inteligently truncates the document close to the desired number of characters. E.g say I have the following document first line
the quick brown fox jumped over the lazy dog such a plugin used like <p>first line</p>
<p>the quick bro...</p> There is already the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Been a while but |
Beta Was this translation helpful? Give feedback.
Been a while but
rehype-infer-description-meta
should cover this. See alsohast-util-excerpt
andhast-util-truncate
!