Rehype plugin that wraps images in <figure> tags with optional <figcaption>, enhancing semantic HTML and accessibility.
-
Updated
Dec 1, 2024 - TypeScript
Rehype plugin that wraps images in <figure> tags with optional <figcaption>, enhancing semantic HTML and accessibility.
Add a description, image, and links to the figcaption topic page so that developers can more easily learn about it.
To associate your repository with the figcaption topic, visit your repo's landing page and select "manage topics."