Snippet of Python code showing a function called “has_markdown_support”. This function uses some metadata to determine if the instance supports Markdown. It returns `True` if the instance is Misskey- or Pleroma-like. It also returns `True` if the instance is Mastodon-like, but only if the software used isn't Mastodon proper.
https://social.mezzo.moe/system/media_attachments/files/110/327/783/367/657/519/original/024cb1e86d8afbb6.png