Thanks.
What if we want the text to be copied when it is clicked? I found these link on the stack site for this https://tex.stackexchange.com/questions/174637/copy-to-clipboard-feature-in-...
also i defined this: \def\Hashtag#1{ \hbox{\tfa\ctxlua{ str = "#1" replacespace = string.gsub(str," ","_")
context.letterhash() context(replacespace) } } } \starttext \Hashtag{hello} \stoptext
i used hbox for making phrase unbreakable.
How can you put all the code in the one Lua function and not need to put hbox or goto function outside of Lua?