I am trying to rename my hyperlink to place in a pdf file. Thus, I do not want to give to the user a massive long link. Let's say my link is like:
And I want it to appear in the pdf like: "Link to picture"
My code:
texto_body=f"Hi,<br> <br> This is a test with a link {link} <br> <br> Thanks,"
body=f"""\
<html>
<body>
<p style="color:black;"> {texto_body}</p>
<img src="cid:image1" alt="Logo" style="width:90px;height:90px;"><br>
</body>
</html>
"""
Solved. I found that <a href="where/you/want/the/link/to/go">text of the link</a>
is the way to set up hyperlinks with a given name