How to create links in Text Card using variables?
# 🤝help
m
I would like to embed links in my replies which contain variables, eg My link --- however currently it is esacping the html. Please can you advise how to acheive this!
v
you cant do this currently i am pretty sure
@crooked-van-25152
is it available
b
hmm
can you clarify for me what you're trying to do? what information are you storing from a user that you're then trying to reference as a URL from a variable?
m
[Link]({{session.baseurl}}/settings/) appears to work... however how do I cusomise the link text (currently it says "link")
?
b
the markdown styling here is meant for you to make hyperlinks in simple send messages
I've never tried it with variables from a user!
m
Bot will be integrated on several sites on same platform, so need to pass in the base url when site loads (which is workign ok)
So just need to know how to customise the link text now... or does it always have to say "Link" ?
b
when you change the text that appears in the square brackets
that's what will show up in the card
it won't be dynamic - it'll be whatever you set it to (like, "click!")
m
Ahhh, yep just discovered that!! Many thanks ... [My link texts]({{session.baseurl}}/settings/) is working 🙂
b
nice 🙂
18 Views