Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Code blocks on mastodon
Recently, I've seen a number of mastodon toots which show code with a special markup, e.g. a light font on a red background. One example can be found at https://wetdry.world/@jessienab/114857900769808977 (the first line of the toot contains some strong language, which I removed for the screenshot below):
I've tried to reproduce this on https://fosstodon.org with code fences, <code> ... <\code> etc, but I can't reproduce the result. Is there a special trick or does this require a specific instance/server/client/whatever?
1 answer
The following users marked this post as Works for me:
| User | Comment | Date |
|---|---|---|
| samcarter | (no comment) | Jul 17, 2025 at 08:02 |
TLDR: It requires an instance running a special software
The toot in question was posted on the instance wetdry.world, which, as of now, is running Mastodon v4.5.0-alpha.1+chuckya.
chuckya is, according to their Github project:
This is a custom branch of Mastodon/glitch-soc intended for usage on the wetdry.world instance.
Glitch on the otherhand, is a
[...] friendly fork of the open-source social media software Mastodon, with the aim of providing additional features at the risk of potentially less stable software. [...]
One of the listed features is:
which allows the users to use Markdown or HTML to format their toots.
Some other Mastodon compatible servers also allow this.

1 comment thread