Truncate HTML based on characters, words or paragraphs. Has the ability to strip tags.
A markdown-it plugin to get markdown frontmatter
rehype plugin to infer file metadata from the document
hast utility to truncate the tree to a certain number of characters