remark-custom-blockquotes

Encapsulates a blockquote with a defined classname.


License
MIT
Install
npm install remark-custom-blockquotes@1.0.1

Documentation

remark-custom-blockquotes

Encapsulates a blockquote with a defined classname.

Options

mapping (required) Object

{
  'T>': 'tip',
  'W>': 'warning',
  '?>': 'todo'
}

Example

Given

T> My blockquote text.

It will output

<blockquote class="tip">
  <p>My blockquote text</p>
</blockquote>