Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 13
Generated: 23:43:49
Login to reply

Replies (13)

Not claiming that to be a solution, just pointing out that no one can stop clients from doing that and thus putting whatever content type they want on a note, just like it happened with inscriptions. The threat of a potential contentious NIP like that might put pressure into supporting markdown in a more sane way.
2023-02-23 19:59:49 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
Sure, clients can do anything, that includes things that are much worse than Markdown. No protocol will survive if everybody starts to do awful things -- or if a single dominant client does "embrace and extend" techniques. Nostr is very fragile. However the Markdown issue often happens because client makers want a way to automatically turn URLs into links, so they add Markdown libraries, not realizing the evil that would bring, so what I am doing is telling them.
2023-02-23 20:15:32 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
I think a good solution is for NostrGram to convert any markup put into the notes created in it into normal text+links before submission to the relay. The only exception being italics and bold, which are very simple and I'll leave in. I only have NostrGram supporting a limited amount of markup (link, image, bold, italic) so it shouldn't be difficult to "clean up" posts from users while still having NostrGram show the markup should a note come in from a relay that has it. Since nobody can control what goes into the relay, I don't want to mess up the user experience should markup appear that's beyond my control.
2023-02-23 21:01:26 from 1 relay(s) ↑ Parent Reply