Open rugk opened 6 years ago
E.g. as for the RegExes here:
https://github.com/showdownjs/showdown/blob/3db9200d2c293d3977948558b2a4aace3e86d6ac/src/subParsers/makehtml/autoLinks.js#L3-L7
For the URL examples I have this here: https://regex101.com/r/8nasII/2
It has some unit tests from https://mathiasbynens.be/demo/url-regex.
thanks. You should issue a PR for develop branch.
Well… one needs to add regex and some useful examples for all other links there, too. My one was just one example.
E.g. as for the RegExes here:
https://github.com/showdownjs/showdown/blob/3db9200d2c293d3977948558b2a4aace3e86d6ac/src/subParsers/makehtml/autoLinks.js#L3-L7
For the URL examples I have this here: https://regex101.com/r/8nasII/2
It has some unit tests from https://mathiasbynens.be/demo/url-regex.