Nate grab bag

Nate Agrin · Friday Demos · October 31, 2025 · 2:54

A trio of demos here: 1. turning off right click actions for embed. Just another way to tune the experience and deliver exactly what you want 2. better URL encoding for markdown values (now…

Try it yourselfThe full week on docsembedvisualization

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. I have uh just three short PSAs. Um okay. So there was an ask uh pretty reasonable ask for having our markdown values be URL encoded so that people can make links to them. So now you can, you know, request the URL encoded variant and drop your your values into a link. Um there's another one where you previously couldn't select multiple lines and then click uh like ordered list or um unordered list and have them all formatted together.

  2. So now you can. Those are the first two. And then the third one is about to ship. Um had a couple customers basically ask to try to lock down a little bit more of the embed experience and so disable things like right click. So now at your org level once this ships you'll be able to disable rightclick.

  3. Um credit to Luke who uh did a quick like spike on this and then I picked it up and made it uh productionizable. Um, the one caveat here is obviously if you do this, you're not going to be able to select values and then right click on them to copy. You'll still be able to command C or control C.

  4. Uh, but you know, if you really want to try to lock down your experience for your customers, that's an option. Nate, I just had a question on the URL encoding. I just didn't understand what that was doing. You could explain that a bit more. Uh, yeah, sure. Um when you generate links uh so if we were putting this value in like a link tag so you're doing something like this.

  5. Um Whoops. Oh, you for this to work you need to encode any value that's not uh like it's considered a special value for a URL. Um so now like email has the at symbol and that's considered a special value. Uh so you just want to encode that and because we're we're not allowing customers to run JavaScript inside the markdown um we basically have to expose these values for them.

  6. So makes sense. Thank you. You're welcome.