quickmark-rule-strong
v1.0.6
Published
Strong rule for Quickmark
Downloads
7
Maintainers
Readme
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