What is Nostr?
David Anson /
npub1lz9…sd3g
2023-05-26 00:27:34
in reply to nevent1q…slfj

David Anson on Nostr: npub1c353w…89pmh It seems like every one of those attributes could be added ...

npub1c353w465eg94sjctq7kh03f9zajjqqsg9wzmg20gc8tvqwm6u54sm89pmh (npub1c35…9pmh) It seems like every one of those attributes could be added automatically when converting from Markdown to HTML. Only the width and height vary, and the render pipeline can load the image to determine those values. By keeping what’s in the Markdown simple and semantic, the final HTML can evolve over time (for example, by adding the decoding and loading attributes which didn’t used to exist). If one buys into the idea of Markdown, using the HTML IMG tag seems like the anti-pattern to me.
Author Public Key
npub1lz9qfs3evwm736xj38ntdx35takrza8yggusckrk2smpwds66dasllsd3g