remarkable-figure-plugin

A remarkable plugin to render images as <figure> elements.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
remarkable-figure-plugin
121.0.03 years ago7 years agoMinified + gzip package size for remarkable-figure-plugin in KB

Readme

remarkable-figure-plugin
A remarkable plugin to render images as <figure> elements.
npm version build status dependency status dev dependency status ISC-licensed support me via GitHub Sponsors chat with me on Twitter

Installing

npm install remarkable-figure-plugin

Usage

const figure = require('remarkable-figure-plugin')

const md = new Remarkable()
md.use(figure)

md.render('![alt](url "title")')

<p><figure><img src="url" alt="alt" title="title"><figcaption>title</figcaption></figure></p>

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.