Absolute Jekyll Email Address

I am writing the contact page of my blog. When I put the email address in markdown format

[contact me] (myname@gmail.com)

Jekyll sees the email address as a relative path and automatically terminates it at localhost: 4000 / myname@gmail.com locally or https://usr.github.com/ myname@gmail.com when you click on github, which leads to a page inaccessible for searching. On the contrary, if the email address is left as is, the address must be opened by the mail client.

Is there a way to make the email address be absolute (disable autocomplete) or are there other workarounds?

I searched and did not find a solution. I will be grateful for your help in this issue.

+4
source share
2 answers

Just figured out a question with Markdown Documentation . It turns out that this is not a problem with jekyll, but MarkDown. I replaced the string

[contact me] (myname@gmail.com)

from

<a href="mailto:myname@gmail.com">contact me</a>

and the problem was resolved.

The mailto: link is probably some common sense, but for a while it delayed me.

+5
source

The correct Markdown syntax for creating email links is:

[contact me](mailto:myname@gmail.com)
+10
source

All Articles