Hi! Haven't been able to find any discussion on this exact topic, apologies if I've missed a solution sitting right in my face.
Messing with Ply and Twee once more. I wanted to create a link that might shoot out an event when clicked, but not link between Passages. If I could define custom syntax, it might look something like:
```
:: LinkingPassage
There's a lightswitch. <Click!->flickswitch>
[[Whatever.->SomeOtherPassage]]
```
`Click!` would show up as a hyperlink that would send the event `flickswitch` out to the deck when clicked.
Now, there are some horrible ways I could do this, like linking to a passage with some tags (`SpawnDogImage`) that I ingest somewhere as in the twee.deck example, then run some logic that adds my dog image to the deck then renders the previous passage, maybe changing some state to change how the passage is rendered. Obviously, this feels pretty gross.
Is there an idiomatic way to emit an event when clicking on a rich text link in Decker that I'm missing? I'm completely fine with writing some inline Lil in my twees, custom syntax was a pipedream example..
Thank you for your incredible work on Decker as always :) hope to have something neat to show when this project is done.
