Re:Matrix 1.0 – Are We Ready Yet?
by tannhaeuser on Monday March 18, 2019 @08:59AM
(#19420644)
XML/SGML is highly appropriate for representing rich text, though, which is the purpose of chat apps/logs. Using JSON you'd have to invent ad-hoc markup on top of JSON, loosing any advantage it may have.
[ Parent
| on HN ]
Re:Matrix 1.0 – Are We Ready Yet?
by JeremyBanks on Monday March 18, 2019 @09:44AM
(#19420907)
Nobody uses rich text formatting, and even if they did, the message body is only a small fraction of the total protocol content.
> Using JSON you'd have to invent ad-hoc markup on top of JSON
That's basically a description of ActivityPub that wraps HTML in JSON!
Will activitypub let me do:
<body> markdown text </body>
And ship some js to convert to html?