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
  • Before sunrise.

    Fediverso bsdcafe illumoscafe fediverse photography
    1
    1
    0 Votes
    1 Posts
    6 Views
    Before sunrise.Good morning, #BSDCafeGood morning, #illumosCafeGood morning, #Fediverse#Photography
  • 0 Votes
    1 Posts
    6 Views
    Hello FediverseIf everything works out according to plan, when I hit publish on this post it will show up in the #Fediverse. After a year of on-and-off attempts, to implement #ActivityPub on this website, with no success, I have hopefully cracked it! Well, when I say “I have hopefully cracked it,” what I mean is @pfefferle@mastodon.social and the #WordPress “open office hours” program, have cracked it. It turns out; if you have a problem with the WordPress ActivityPub plugin, the best thing to do is disable other plugins and, though a process of elimination, see if one of them is the issue. So big thanks to Mathias and WordPress for your help on this.Now this is working and I am broadcasting out into the Fediverse, I feel like I should modify my content a little to appeal to all of you woke, leftists, godless, communists 🙂 out there. For a while I was far too smitten with the every little #Sustainability initiative, every little carbon reduction program, and every other bit of  #GreenWashing that was put out there by brands. Full confession I actually believed that ElonMusk wanted to save the planet! Yeh I know, I was naive…While I do continue to applaud any actions that a corporation takes, that materially helps either people or planet, it’s clear that problems are systemic. We need corporations to shift from Shareholder Primacy to Stakeholder Capitalism, valuing environmental and social impact alongside profit. Or try someting completely different. Right now, if there is a more sustainable or ethical brand choice to be had, we should always take it, but we must understand, that we are not “saving the planet” with those choices, just minimising our impact. Nebula TV channel, Our Changing Climate,  has this excellent video on the subject of Ethical Consumerism.It turns out, that whoever first pointed out “Corporations are Psychopaths” was mostly correct – How a corporation is designed to function, putting shareholders before people and planet, is psychopathic behaviour. (Psychopathic behaviour includes a lack of empathy and remorse, superficial charm, manipulation, and a disregard for social norms and the rights of others.) The only solution is to rewrite corporate charters and incorporation acts and include specific legal provisions that mandate environmental and social responsibility, shifting the core purpose of business beyond mere profit maximisation. Ultimately Corporations and their leaders are never going to fully act in the best interests of people and planet, because that’s not what they were created to do.So the plan, for 2026, is to be posting more content here that challenges both brands and the whole system. To shine a light on the negative impacts to people and planet that brands are having. And to share more content about organisations and companies working on regeneration and decarbonisation.Please follow and share your thoughts and ideas below.#activitypub #branding #corporations #fediverse #sustaiability #sustainability #wordpress
  • 0 Votes
    1 Posts
    5 Views
    🌀 Misskey 帳戶遷移實際會遷移哪些資料? / What data is actually migrated during Misskey account migration? / Misskey のアカウント移行ではどのデータが移行されますか?⸻🇹🇼 中文 / Chinese (Traditional)最近在研究 Misskey 的「帳戶遷移」功能,想更清楚了解它實際會遷移哪些資料。目前看起來它會轉移「追隨與被追隨」的關係,但我不確定是否也包含: • 使用者頭像、橫幅與簡介 • 貼文、圖片與附件 • 使用者設定與偏好另外,如果兩台伺服器之間的聯邦協議(ActivityPub)通訊正常,是否代表遷移時能自動同步所有可用資料?我想確認 Misskey 的帳戶遷移到底是偏向「社交關係導向」(像 ActivityPub 的 Move 活動),還是能完整搬移內容與媒體的「資料轉移」。如果有開發者或懂協議的朋友能說明一下,會很感謝 🙏⸻🇬🇧 EnglishI’m trying to understand how Misskey account migration actually works.From what I’ve seen, it seems to transfer followers and following, but I’m not sure if it also includes: • Profile info (avatar, header, bio) • Posts, images, attachments • User settings or preferencesIf both instances communicate properly over ActivityPub, does migration automatically sync all available data?I’d like to know if Misskey’s migration is more like a “social relationship redirection” (similar to ActivityPub’s Move), or a full “data transfer” including posts and media.Any insights from developers or experienced admins would be appreciated 🙌⸻🇯🇵 日本語 / Japanese最近、Misskey の アカウント移行 機能について調べています。実際にどのデータが移行されるのか、もう少し詳しく知りたいです。現時点では、フォロー/フォロワー関係は引き継がれるようですが、次の項目も含まれるのでしょうか? • プロフィール情報(アイコン、ヘッダー、自己紹介) • 投稿・画像・添付ファイル • ユーザー設定や環境設定また、サーバー間の ActivityPub 通信が正常な場合、自動でデータ同期が行われるのでしょうか?Misskey のアカウント移行は ActivityPub の Move のような「ソーシャル関係の移動」なのか、それともユーザーコンテンツを含む「完全なデータ転送」に近いのか、開発者や詳しい方の意見をお聞きしたいです 🙏⸻#Misskey #帳戶遷移 #アカウント移行#ActivityPub #聯邦宇宙 #フェディバース#Fediverse #DecentralizedSocial #分散型SNS#AccountMigration #資料同步 #データ移行#MisskeyDev #技術討論 #技術交流 #技術的議論#SelfHost #OpenProtocol #オープンプロトコル#FediverseTech #MisskeyCommunity #Misskey開発⸻
  • Made in Canada.

    Fediverso fediverse statusnet
    2
    0 Votes
    2 Posts
    16 Views
    @dansup I missed this the first time. Thank you so much for the kind words. I'm so impressed with the good work you've done. And I love using Pixelfed!