This package has been deprecated

Author message:

package is no longer supported - please reach out if you'd like to take it over

showdown-container

0.4.0 • Public • Published

showdown-container npm version

Fenced container plugin for the showdown markdown parser, idea copied from markdown-it-container

This extension allows you to create block level containers:

::: some-class
*Some text*
:::

Which will be rendered as:

<div class="some-class">
<em>Some text</em>
</div>

Usage

var Showdown = require('showdown');
var showdownContainer = require('showdown-container');
// on the server side
var converter = new showdown.Converter({ extensions: [showdownContainer] });
// on the client side (or with global.showdown set)
var converter = new showdown.Converter({ extensions: ['container'] });

Future

Installation

$ npm install --save showdown-container

/showdown-container/

    Package Sidebar

    Install

    npm i showdown-container

    Weekly Downloads

    6

    Version

    0.4.0

    License

    MIT

    Unpacked Size

    11 kB

    Total Files

    8

    Last publish

    Collaborators

    • modosc