Skip to content

Jameskmonger/quickmark-rule-strong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Bold / strong text matching rule for quickmark.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages