1.0.0 • Published 9 months ago
rehype-blockquote-figures v1.0.0
rehype-blockquote-figures
What is this?
A simple rehype plugin that wraps <blockquote>
tags in <figure>
and moves
the final paragraph into a <figcaption>
.
When should I use this?
This lets you use a <figcaption>
as the citation for a <blockquote>
, as
recommended by Heydon
Pickering.
This plugin is optimal for HTML <blockquote>
s rendered from Markdown (e.g. by remark).
1.0.0
9 months ago