1.0.0 • Published 5 years ago
showdown-custom-class v1.0.0
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>