Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

How many Fediverse software use Markdown as its default text format — rather than HTML?

Technical Discussion
14 11 0

Gli ultimi otto messaggi ricevuti dalla Federazione
  • I think the wrapping in <p> is just plain good practice because otherwise rendered content could be injected somewhere resulting in invalid HTML.

    Not that browsers ever reject bad HTML anyway heh</p>

    read more

  • @helge @reiver

    >Can you explain what goes on in mitra?

    When mediaType is text/markdown, the entire content is wrapped in a <p> tag. This was done for compatibility with PeerTube. I think <p> was needed to create a space between the title (name) and the content, since title is prepended to content in Mitra (also a compatibility hack -- for Mastodon API clients).

    read more

  • I'd generally discourage RFC7591 in decentralized systems due to the fact that it creates client sprawl (this is currently a problem with Mastodon's client registration mechanism, which is why we created CIMDs) — every client in RFC7591 is a distinct client, with its own client_id and client_secret, which can make client management interfaces difficult to implement (e.g., every time you login on a mobile device or SPA, you'll get a brand new client_id). CIMDs solve this by anchoring client metadata to a URI, and using that URI as the client_id.

    If you need to test clients using CIMDs in development, there is cimd-service however, it's currently targeting the AT Protocol ecosystem (so has a few specifics that at present there that would not necessarily make sense of ActivityPub)

    read more

  • Speaking of handling markdown. I created funfedi.dev Media Types a while ago (and just added it to the navigation). I lost interest when I saw that nobody properly handled the mediaType attribute of a note. Not that I know what I expected.

    Can you explain what goes on in mitra? When mediaType is text/markdown. It changes __bold__ to <p>__bold__</p>, otherwise no paragraph tags. I'm pretty sure, I was once told to use __ for bold and * for emphasize. So my markdown should be good.

    Full example ... input activity -> mitra api response

    Final note: I am not sure what I would want a proper data format to do. I find the solution of W3C ActivityPub (not W3C ActivityStreams) proposes of putting HTML in content and adding source with the original, from which the HTML was generated ok. Of course, this leaves the existence of the summary and name field superfluous.

    read more

  • @reiver@mastodon.social add in NodeBB as well. Markdown first, and probably HTML too, although it will probably be sanitized to death on the way out.

    read more

  • @mariusor that's too bad. All I have left is mussels, French fries, large-scale bureaucracy, and peeing statues.

    read more

  • @reiver uses Markdown by default too, but of course sends out HTML to the fediverse

    read more

  • @reiver Markdown or its subset is supported by almost every platform except Mastodon.
    But PeerTube is the only software I know that puts markdown in content instead of HTML.

    read more
Post suggeriti
  • 0 Votes
    66 Posts
    27 Views
    You jest, but I'm pretty sure someone out there made a cli interface for AP.
  • 0 Votes
    1 Posts
    12 Views
    Be careful what you favourite on Mastodon. An old post can be edited with statements you don’t believe in or of hatred. Third party apps may not refresh the post until you interact with them. #mastodon #fediverse
  • 0 Votes
    1 Posts
    11 Views
    #FediTips Don't forget to check https://about.fedigroups.social/directory periodically for new groups to follow. Since gup.pe went down, the groups ecosystem has had to be rebuilt, so new ones are being added all the time.#mastodon #activitypub #fediverse #feditip
  • 0 Votes
    1 Posts
    12 Views
    Experimental support for multiple users landed with Ktistec release v2.4.15. "Experimental" means that it works for me, but hasn't seen enough testing for me to call it "ready for production". With that said, it's unlikely you'll lose your data.There are lots of intentional design decisions that fit my vision for Ktistec but may surprise you. Here they are:Every user is an administrator. That doesn't mean users have access to each other's posts and data, but it does mean all users have access to the shared parts of the site—they can change the site description, for example—and they can add new users. So only add people you trust.If you want to add another user, create an account for them and give them their username and password.  There is no self-registration. There are no invitations.Beyond adding a user, there is no support for user management. You can't even boot a user from your site. Users can delete themselves, however.There is no support for content moderation. Only add people you trust.TL;DR Multi-user support in Ktistec is suitable for small teams, families (biological or chosen), and your personal avatars. There are better tools for online communities.Here's the full set of changes:AddedAdd support for multiple user accounts.FixedHide attachments behind the summary. (fixes #125)Mark actors as up after refreshing their profile.#ktistec #fediverse #activitypub #crystallang