Mastodon Thread ⇨ Markdown Shortcut

Updated 03092023-202552


Social

here's a relatively rudimentary shortcut I created to copy the text contents of Mastodon threads, combined. #Shortcuts. https://routinehub.co/shortcut/14463


Copy the contents of Mastodon post descendants in markdown.

This shortcut uses the statuses endpoint of the Mastodon API to gather the contents (and only the contents) of a single Mastodon post and all of its "descendants." It converts the HTML result of the content variable to markdown format via native Shortcuts actions, combines the converted results of the original (top, target) post followed by that of any replies in chronological order.

Notably, it does not include any metadata for the posts, including attribution. I created it specifically to copy release note threads like the example shown below. Consider it a template for your own use!

Example

The shortcut result when run on this url:

If you are a [#MastoAdmin](https://mementomori.social/tags/MastoAdmin), you can make your default [#Mastodon](https://mementomori.social/tags/Mastodon) UI look like kinda exactly like [#Twitter](https://mementomori.social/tags/Twitter).

Source: [https://github.com/ronilaukkarinen/mastodon-twitter-ui](https://github.com/ronilaukkarinen/mastodon-twitter-ui) [#CSS](https://mementomori.social/tags/CSS) [#WebDev](https://mementomori.social/tags/WebDev)

The default Mastodon UI dark theme doesn't have those dropdowns and emoji pickers and other panels dark. I'm changing that with my own deep purple spice. [#CSS](https://mementomori.social/tags/CSS) [#MastoAdmin](https://mementomori.social/tags/MastoAdmin)

Released v1.0.6:

\- Fix video-player alignment  
\- Improve mobile bottom bar spacing  
\- Lists view styles  
\- Notification styles

[https://github.com/ronilaukkarinen/mastodon-twitter-ui/releases/tag/1.0.6](https://github.com/ronilaukkarinen/mastodon-twitter-ui/releases/tag/1.0.6)

[#CSS](https://mementomori.social/tags/CSS) [#MastoAdmin](https://mementomori.social/tags/MastoAdmin) [#WebDev](https://mementomori.social/tags/WebDev)

The bottom bar on mobile turned out pretty nicely. :bunhdheart: [#CSS](https://mementomori.social/tags/CSS) [#MastodonUI](https://mementomori.social/tags/MastodonUI) [#UI](https://mementomori.social/tags/UI) [#Mobile](https://mementomori.social/tags/Mobile)

[@rolle](https://mementomori.social/@rolle) I think you nailed the replica pretty well! I personally don't like the Mastodon color scheme but it can always be changed out with Twitter's or a custom one.

[@crafti](https://akkoma.0x68756773.moe/users/crafti) Thanks! Yeah, the default Mastodon UI is kidna clunky. It works, but needs a little bit of polishing. Glad Mastodon is open source and it's a good thing that I'm a CSS wizard. :wizard_01:

[@rolle](https://mementomori.social/@rolle) I tweak Pleroma's or Misskey's UI as well, for minor fixes and adjustments. It's great to have websites still themable.

[@crafti](https://akkoma.0x68756773.moe/users/crafti) Yeah, theming is the best activity :blobDance:

[@rolle](https://mementomori.social/@rolle) Thank you for that, I've just installed the theme on my (single user) instance.

[@nathalie](https://nathalie.social/@nathalie) You're welcome, I hope you like it.

[@rolle](https://mementomori.social/@rolle) Hei [@husku](https://eliitin-some.fi/@husku) miten ois? :eliitti_mursu:

[@VPSuuronen](https://eliitin-some.fi/@VPSuuronen) [@husku](https://eliitin-some.fi/@husku) Moni ei tykkää siitä miltä Twitter näyttää, koska mitä se edustaa ja ymmärrän sen. Mutta itse olen niin tottunut tietynlaiseen ja Mastodonin oletuskäyttis on vähän vanhankantaisen oloinen, joten halusin tehdä tästä modernimman. Saa käyttää.

Aion kehittää eteenpäin aktiivisesti, kun tämä on nyt päivittäisessä käytössä. Päivitys on vähän rasittavaa kun Custom CSS:ssä on viivettä.

[@VPSuuronen](https://eliitin-some.fi/@VPSuuronen) [@rolle](https://mementomori.social/@rolle)

En lämpee :/

Tietty jos porukalla muodostatte jonkun lynkkausmobin ja odottelette soihtujen kanssa kun ajelen töistä kotiin niin voin harkita.

[@rolle](https://mementomori.social/@rolle) Yeah, and with the [@GIMP](https://floss.social/@GIMP) you can put a Hitler moustache on almost anybody 🤣

I'll get my coat

[@martinvermeer](https://fediscience.org/@martinvermeer) [@GIMP](https://floss.social/@GIMP) 😳

[@rolle](https://mementomori.social/@rolle) the question is though: why would/should you do such thing to Mastodon?

[@teeko](https://mastodontti.fi/@teeko) Good question. I think Twitter's UI (before the font blunder and all) is really polished whereas the default Mastodon UI is kinda clunky. It's good that in [#Fediverse](https://mementomori.social/tags/Fediverse) there's is freedom to choose.

[@teeko](https://mastodontti.fi/@teeko) The extended answer: [https://github.com/ronilaukkarinen/mastodon-twitter-ui#why-would-anyone-want-mastodon-to-look-like-twitter](https://github.com/ronilaukkarinen/mastodon-twitter-ui#why-would-anyone-want-mastodon-to-look-like-twitter)

[@rolle](https://mementomori.social/@rolle) omg... I could not for the life of me find the documentation on how to change the UI theme. am I just dumb or?

[@DavidBlue](https://mastodon.social/@DavidBlue) Mastodon does not have UI themes option for users. Only instance admin can install this for all users by using Custom CSS feature. As I'm the admin of my instance I can edit everything freely. But on mastodon.social you're out of luck.

However, on your current browser (Chrome) you can enable it like this: [https://github.com/ronilaukkarinen/mastodon-twitter-ui#contributing--testing](https://github.com/ronilaukkarinen/mastodon-twitter-ui#contributing--testing)

But this won't help you on mobile I'm afraid.

[@rolle](https://mementomori.social/@rolle) I was actually referring to the admin side. thank you!

[@DavidBlue](https://mastodon.social/@DavidBlue) I see you are commenting from Mastodon.social? The instructions for instance admins can be found in the README.

[@rolle](https://mementomori.social/@rolle) End users can also also use the CSS with one of the userstyles browser extensions ([#Stylus](https://social.tchncs.de/tags/Stylus) or [#Stylish](https://social.tchncs.de/tags/Stylish)).

[@rolle](https://mementomori.social/@rolle) why would one do this?

[@d4m13n](https://digitalcourage.social/@d4m13n) [https://github.com/ronilaukkarinen/mastodon-twitter-ui#why-would-anyone-want-mastodon-to-look-like-twitter](https://github.com/ronilaukkarinen/mastodon-twitter-ui#why-would-anyone-want-mastodon-to-look-like-twitter)