showdown-custom-class
v1.0.0
Published
An extension for [showdown](https://www.npmjs.com/package/showdown) that enables custom classes from your markdown.
Readme
Custom Classes in Showdown
An extension for showdown that enables custom classes from your markdown.
Installation
npm install showdown-custom-classconst 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>