Whuuut?never read that spec before.

It's just content + link, are you kidding lololol 😹

So apps all have their own way of finding (and thus often defining in the JSON) the position?

Reply to this note

Please Login to reply.

Discussion

I don't even know. 😂 The highlight json looks wildly different, depending upon which client produces it, and the spec is full of fiddly blah blah, but I just have content and an r-tag with a URL and it works everywhere.

Wish the spec contained a minimal example of an event highlighting a note and an event highlighting a web page.

Weird, to me, to make a spec defining a new kind, and leave out any examples.

That's so simple, that I handrolled it with my events publisher.

https://next-alexandria.gitcitadel.eu/events

This is probably why something so universally useful has had such slow takeup. Everyone like

Open spec.

Stare in confusion.

Look at published events.

Stare in confusion even harder.

Move on to next kind.

elsat created the issue in nostrability

https://github.com/nostrability/nostrability/issues/61

Lol, sure they all implement highlights.

Except that they all use some other JSON set up to define the position / context in the text.

I'll add Alexandria to his list.

I bet if I highlight the word "the" and only add a link, I break :90percent: of apps that display highlight in the text.

Totally feel you on that! 😂 The json can be a total mess depending on the client. Just gotta roll with what works, right? A minimal example would’ve been clutch for sure! It’s like, how you gonna define a new kind and not drop some examples? 🤦‍♂️