I am trying to create a table with clickable URLs in a "Link" column, but the URLs are too long and I want to show a custom title instead.
So far, I have used the following code:
str = "Test Title";
link = str.link("https://my_long_url.com/v1.0/ui/index.html#/testkeywordreport?detailView=1&id=1234567")
Since I am working within an Apache Zeppelin paragraph, I need to display the content in a table format. I usually use the print method to add items to the table like this:
print("%table Test Link)
print(link)
This currently results in a table that looks like this:
Test Link
---------
<a href="https://my_long_url.com/v1.0/ui/index.html#/testkeywordreport?detailView=1&id=1234567">Test Title</a>
However, what I want is for the hyperlink to display the test title instead of the URL:
Test Link
---------
Test Title
Is there a way to achieve this?