Attach text to email address

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Attach text to email address

1marc1
Dear all,

I am using asciidoctor-pdf and am wondering if I can attach text to an email address. I can attach text to a URL like so:

Please visit http://asciidoctor.org[our website].

...but the following does not work (PDF or HTML5):

Please asciidoctor@example.com[contact us] for more information.

Any ideas if this is possible?

Thank you.

Marc.
Reply | Threaded
Open this post in threaded view
|

Re: Attach text to email address

kibukj
Prefixing the address with mailto: seems to work for me:

Please mailto:asciidoctor@example.com[contact us] for more information.

Without the mailto: prefix, I see the same behaviour as you.
msc
Reply | Threaded
Open this post in threaded view
|

Re: Attach text to email address

msc
In reply to this post by 1marc1


On Mar 5, 2019, at 3:40, 1marc1 [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Dear all,

I am using asciidoctor-pdf and am wondering if I can attach text to an email address. I can attach text to a URL like so:

Please visit <a href="http://asciidoctor.org[our" class="">http://asciidoctor.org[our website].

...but the following does not work (PDF or HTML5):

Please [hidden email][contact us] for more information.
You need mailto:[hidden email] to make it a proper URL.

Regards

    -Mark

Reply | Threaded
Open this post in threaded view
|

Re: Attach text to email address

1marc1
Thank you! That worked.

Marc.