linkify . url http://www.youtube.com/watch?v=5Jt5GEr4AYg. .

url http://www.youtube.com/watch?v=5Jt5GEr4AYg.

. don't touch text in links . [https://example.com](https://example.com) .

https://example.com

. don't touch text in autolinks . .

https://example.com

. don't touch text in html tags . https://example.com .

https://example.com

. entities inside raw links . https://example.com/foo&bar .

https://example.com/foo&amp;bar

. emphasis inside raw links (asterisk, can happen in links with params) . https://example.com/foo*bar*baz .

https://example.com/foo*bar*baz

. emphasis inside raw links (underscore) . http://example.org/foo._bar_-_baz .

http://example.org/foo._bar_-_baz

. backticks inside raw links . https://example.com/foo`bar`baz .

https://example.com/foo`bar`baz

. links inside raw links . https://example.com/foo[123](456)bar .

https://example.com/foo[123](456)bar

. escapes not allowed at the start . \https://example.com .

\https://example.com

. escapes not allowed at comma . https\://example.com .

https://example.com

. escapes not allowed at slashes . https:\//aa.org https://bb.org .

https://aa.org https://bb.org

. fuzzy link shouldn't match cc.org . https:/\/cc.org .

https://cc.org

. bold links (exclude markup of pairs from link tail) . **http://example.com/foobar** .

http://example.com/foobar

. match links without protocol . www.example.org .

www.example.org

. coverage, prefix not valid . http:/example.com/ .

http:/example.com/

. coverage, negative link level . [https://example.com](https://example.com) .

https://example.com

. emphasis with '*', real link: . http://cdecl.ridiculousfish.com/?q=int+%28*f%29+%28float+*%29%3B .

http://cdecl.ridiculousfish.com/?q=int+(*f)+(float+*)%3B

. emphasis with '_', real link: . https://www.sell.fi/sites/default/files/elainlaakarilehti/tieteelliset_artikkelit/kahkonen_t._et_al.canine_pancreatitis-_review.pdf .

https://www.sell.fi/sites/default/files/elainlaakarilehti/tieteelliset_artikkelit/kahkonen_t._et_al.canine_pancreatitis-_review.pdf

. emails . test@example.com mailto:test@example.com .

test@example.com

mailto:test@example.com

. typorgapher should not break href . http://example.com/(c) .

http://example.com/(c)

. before line . before github.com .

before github.com

. after line . github.com after .

github.com after

. before after lines . before github.com after .

before github.com after

. before after lines with blank line . before github.com after .

before

github.com

after

. Don't match escaped . google\.com .

google.com

. Issue [#300](https://github.com/executablebooks/markdown-it-py/issues/300) emphasis inside raw links (underscore) at beginning of line . http://example.org/foo._bar_-_baz This works .

http://example.org/foo._bar_-_baz This works

. Issue [#300](https://github.com/executablebooks/markdown-it-py/issues/300) emphasis inside raw links (underscore) at end of line . This doesnt http://example.org/foo._bar_-_baz .

This doesnt http://example.org/foo._bar_-_baz

. Issue [#300](https://github.com/executablebooks/markdown-it-py/issues/300) emphasis inside raw links (underscore) mix1 . While this `does` http://example.org/foo._bar_-_baz, this doesnt http://example.org/foo._bar_-_baz and this **does** http://example.org/foo._bar_-_baz .

While this `does` http://example.org/foo._bar_-_baz, this doesnt http://example.org/foo._bar_-_baz and this does http://example.org/foo._bar_-_baz

. Issue [#300](https://github.com/executablebooks/markdown-it-py/issues/300) emphasis inside raw links (underscore) mix2 . This applies to _series of URLs too_ http://example.org/foo._bar_-_baz http://example.org/foo._bar_-_baz, these dont http://example.org/foo._bar_-_baz http://example.org/foo._bar_-_baz and these **do** http://example.org/foo._bar_-_baz http://example.org/foo._bar_-_baz .

This applies to series of URLs too http://example.org/foo._bar_-_baz http://example.org/foo._bar_-_baz, these dont http://example.org/foo._bar_-_baz http://example.org/foo._bar_-_baz and these do http://example.org/foo._bar_-_baz http://example.org/foo._bar_-_baz

. emphasis inside raw links (asterisk) at end of line . This doesnt http://example.org/foo.*bar*-*baz .

This doesnt http://example.org/foo.*bar*-*baz

.