ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] defining hashtag simulator
@ 2024-05-19  3:40 seyal.zavira
  2024-05-19  9:08 ` [NTG-context] " Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: seyal.zavira @ 2024-05-19  3:40 UTC (permalink / raw)
  To: ntg-context

Hi all,

I want to define a command that simulate hashtag behavior in social networks,

In other words, this command should put the hashtag sign at the beginning of it, replace spaces with dashes and also it should be a clickable link and unbreakable world.
I mean like this, for example:
\myhashtag{hello world}
It should be displayed as #hello_world in the final PDF and when clicked it will search for #hello_world throughout the pdf
How is this possible?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-20 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-19  3:40 [NTG-context] defining hashtag simulator seyal.zavira
2024-05-19  9:08 ` [NTG-context] " Hans Hagen
2024-05-20  6:01   ` seyal.zavira
2024-05-20  8:02     ` Hans Hagen via ntg-context
2024-05-20 14:57     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).