showdown-custom-class

1.0.0 • Public • Published

Custom Classes in Showdown

An extension for showdown that enables custom classes from your markdown.

Installation

npm install showdown-custom-class
const customClassExt = require('showdown-custom-class')

...

var converter = new showdown.Converter({
    extensions: [customClassExt],
})

Usage

#[.header]Header
[.pTag line]Just a line of text.
<h1 id="headercontenttitle" class="header">Header</h1>
<p class="pTag line">Just a line of text.</p>

Readme

Keywords

none

Package Sidebar

Install

npm i showdown-custom-class

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

1.36 kB

Total Files

4

Last publish

Collaborators

  • al5ina5