micromark / common-markup-state-machine

CMSM: Common markup state machine
49 stars 0 forks source link

GFM extension: extended autolinks (aka literal urls) #11

Closed wooorm closed 3 years ago

wooorm commented 5 years ago

GFM gives a couple of extra ways to add links.

Exhibit A: they can start with www.

www.commonmark.org

www.commonmark.org

Exhibit B: or with http:// or https://

http://commonmark.org

https://commonmark.org

http://commonmark.org

https://commonmark.org

Exhibit C: or include an @, a lot of things can be before and after it:

foo@bar.baz
.@-.c

foo@bar.baz .@-.c

wooorm commented 3 years ago

https://github.com/micromark/micromark-extension-gfm-autolink-literal