A remark plugin to transform images or code blocks followed by blockquotes into figures with captions.
Installation
``bash
npm install remark-figure-caption
`
Usage
This plugin can be used with the unified ecosystem, specifically with remark for Markdown processing.
`javascript
import {unified} from 'unified'
import remarkParse from 'remark-parse'
import remarkFigureCaption from 'remark-figure-caption'
import remarkRehype from 'remark-rehype'
import rehypeStringify from 'rehype-stringify'