@miyagawa iirc Mastodon server converts the toot text into HTML when it's posted creating A tags for URL like strings and known ActivityPub accounts. This makes it possible for the server to also send notifications to mentioned accounts. It should be possible to curl the API endpoint for each of toots to check the HTML source as stored in the server database.
I guess the right way to do this is to somehow encode this in HTML i.e. [@miyagawa](https://twitter.com/miyagawa). I know ActivityPub is HTML based, but not sure how to post it to Mastodon via its API - using Markdown doesn't seem to work ?
@miyagawa I guess the decision by Mastodon was to make toots as simple as possible to make it easier to read as plaintext. It's a pity that rendering to HTML is done inside the server. Glitch Social might have a parameter sent with the POST request to communicate the format but I'm not sure.
I believe allow-listing HTML tags is already done on the client side to reject harmful HTML code sent through ActivityPub.
@zundan I wish if it was supported through API at least. Then even if Mastodon official client doesn't support it, third party apps could choose to accept Markdown and post pre-rendered HTML to the API.
I understand there's a security implication to this, but that'll apply to posts coming from other ActivityPub implementations already.
@zundan yeah, I hate it the answer to many feature requests to Mastodon is "It's possible on ActivityPub but Mastodon doesn't let you do this, so you have to run your own fork"