1.0.6 • Published 10 years ago

quickmark-rule-strong v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

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

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago