0.0.2 • Published 1 year ago

@andatoshiki/markdown-it-image-caption v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.

License

MIT