Re: How to prevent asciidoctorpdf from inserting mailto link in PDF

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/How-to-prevent-asciidoctorpdf-from-inserting-mailto-link-in-PDF-tp8289p8295.html

You seem to be looking for something else, which is to escape what appears to be an email address from processing. If you want literal monospace, you need to use the `+...+` enclosure.

I have: `+ssh [hidden email]+`

The backticks only give you monospace. It's just formatting at that point.

See https://asciidoctor.org/docs/user-manual/#literal-monospace

Best Regards,

-Dan

On Tue, Oct 27, 2020 at 2:52 AM TonK [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I run into this problem as well, although I don't specify an e-mail address.
I have: `ssh [hidden email]` (in backtics, so it is literal text) and that gets
the `mailto` added to it as well. If I switch on `:hide-uri-scheme:` I loose all the `http[s]://` schemes
infront of all the URLs, which is even worse. I do get around by changing the inline to a code block, but that just doesn't look good.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/How-to-prevent-asciidoctorpdf-from-inserting-mailto-link-in-PDF-tp8289p8294.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux