I'd like to be able to use the body's tree applied with remark/ rehype plugins in computed fields.
It's much simpler to apply transformations and then select nodes as opposed to dealing with either the raw or code body. It would make extracting elements like headings or first top level paragraph (for an excerpt) cleaner. It's quite hard to capture the first paragraph based off the raw body unless it's reparsed(?)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'd like to be able to use the body's tree applied with remark/ rehype plugins in computed fields.
It's much simpler to apply transformations and then select nodes as opposed to dealing with either the raw or code body. It would make extracting elements like headings or first top level paragraph (for an excerpt) cleaner. It's quite hard to capture the first paragraph based off the raw body unless it's reparsed(?)