quickmark-rule-strong

Strong rule for Quickmark


Keywords
quickmark, strong, regexp, markdown
License
MIT
Install
npm install quickmark-rule-strong@1.0.6

Documentation

quickmark-rule-strong

Bold / strong text matching rule for quickmark.

Usage

const strong = require('quickmark-rule-strong');

strong('**bold text**');
// {
//     original: '**bold text**',
//     parsed: 'bold text'
// }



strong('__bold text__');
// {
//     original: '__bold text__',
//     parsed: 'bold text'
// }



strong('**some strong text** with a little bit of normal text after');
// {
//     original: '**some strong text**',
//     parsed: 'some strong text'
// }



strong('plain text');
// undefined

License

MIT