Zulip Chat Archive

Stream: lean4

Topic: Links in messages?


Mario Carneiro (May 06 2023 at 15:51):

Is it possible to create a MessageData containing a link (which calls a server RPC method)? Widgets can do this, but I haven't figured out how to make rich message objects containing interactable things except by embedding Expr and getting Expr tooltip stuff.

Wojciech Nawrocki (May 06 2023 at 15:53):

Not yet, but a mechanism is proposed in lean4#2064

Mario Carneiro (May 06 2023 at 15:56):

aha, example 1 looks similar to what I'm working on :wink:

Mario Carneiro (May 06 2023 at 15:58):

I have also wanted to do better hyperlinks in the output of #help, rather than putting references to the actual expr constants with weird names


Last updated: Dec 20 2023 at 11:08 UTC