Skip to content

Markdown Syntax: Permissive Autolinks

Martin Mitáš edited this page Dec 15, 2016 · 6 revisions

E-mail Autolinks

(Requires flag MD_FLAG_PERMISSIVEEMAILAUTOLINKS.)

This is standard CommonMark e-mail autolink:

With the permissive autolinks enabled, this is sufficient:

Note: If the scheme mailto: precedes the e-mail address, then it is classified as an URL autolink, not e-mail autolink.

URL Autolinks

(Requires flag MD_FLAG_PERMISSIVEURLAUTOLINKS.)

This is standard CommonMark URL autolink:

<https://github.com/mity/md4c>

With the permissive autolinks enabled, this is sufficient:

https://github.com/mity/md4c

However note only certain commonly used schemes like http:, https:, mailto: and few others can be used with the permissive autolinks.