@andatoshiki/markdown-it-image-caption
v0.0.2
Published
Markdown it enhance plugin for easily adding caption below images in markdown with quotation mark behind image path
Downloads
14
Maintainers
Readme
markdown-it-image-caption
Easily add caption text below images via markdown-it and markdown grammar Markdown it enhance plugin for easily adding caption below images in markdown with quotation mark behind image path
Installation
# npm
$ npm install @andatoshiki/markdown-it-image-caption --save-dev
# yarn
$ yarn add -D @andatoshiki/markdown-it-image-caption
# pnpm
$ pnpm add -D @andatoshiki/markdown-it-image-caption
Usage
![some alt text](your-image-path 'your caption here')
The above grammar would render your caption here
as the image caption in centered and small text font below the image.