1.0.6 • Published 8 years ago

quickmark-rule-strong v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago