0.4.0 • Published 5 years ago

showdown-container v0.4.0

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

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
0.4.0

5 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago