Working with the ActivityPub Plugin

I’m curious about what the intent is for the formatting and presentation for Note and Article.

Note

For Note, when I post from Mastodon Glitch to vanilla Mastodon with markdown, it is displayed in Glitch as rich text, and in vanilla Mastodon as plain text with markdown stripped.

Writing this in Mastodon Glitch with Markdown enabled:

…shows this on Mastodon Glitch:

…and shows this on vanilla Mastodon:

However, if I author rich text in Discourse with a Note:

…I get this in Mastodon Glitch:

…and this in vanilla Mastodon:

…which looks just about the same.

When I use the https://elk.zone web client for that same post, it does include some newlines, but still has markdown font formatting wiped out:

Most of the fediverse actually can handle markdown, so it would be good for it to carry across.

Also, I note that hashtags do not come across in Mastodon as hashtags.

Article

For posting an Article, what do you expect to be displayed in Mastodon?

What I’m seeing on PR 21 is just the URL and a small onebox with not much text.

I don’t know how much of that is on the Mastodon side; I haven’t set up, for example, a Firefish instance to compare.

4 Likes