@andatoshiki/markdown-it-image-caption

0.0.2 • Public • Published

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

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @andatoshiki/markdown-it-image-caption

    Weekly Downloads

    2

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    3.81 kB

    Total Files

    8

    Last publish

    Collaborators

    • andatoshiki