Customizing link output in PDF

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

Customizing link output in PDF

Patrick Ben Koetter
Greetings,

can I configure asciidoctor-pdf to output links showing the link text only
without printing the URI after the link text?

What'd like to have is this

    Follow RFC 8482 and

whereas "RFC 8482" represents the link text.

At the moment asciidoctor-pdf rendering gives me this:

    Follow RFC 8482 [https://www.rfc-editor.org/rfc/rfc8482.txt] and

I've had a look at the asciidoctor-pdf theming guide and regular asciidoctor
docs and wasn't able to identify anything that gives me what I want.

Regards,

p@rick
Reply | Threaded
Open this post in threaded view
|

Re: Customizing link output in PDF

Alexander Schwartz
Hi - when analyzing your output is difficult to know the AsciiDoc source you've written.

A minimal AsciiDoc input example I could think of for the output you described:

     Follow https://www.rfc-editor.org/rfc/rfc8482.txt[RFC 8482] and

Please let me know if this works for you. If it doesn't please provide an example AsciiDoc input.

For future questions: there's also the Zulip chat. As more and more people have moved over there, you might get your answers there more quickly.

Alexander Schwartz (alexander.schwartz@gmx.net)
https://www.ahus1.de