Across the site, sr.ht uses mistletoe for rendering Markdown. It implements CommonMark, which is much more well-defined than the original Markdown specification.
Additionally, some extensions to CommonMark are used.
<scheme>://<path>) and plain e-mail
addresses (of the form <name>@<domain>) can be used, and they will
be turned into the appropriate links (for e-mail addresses, this
prepends mailto:).Rendered HTML is post-processed so that it only consists the following
tags and attributes (in the format tags...: attributes...)
a: href, titleabbr: titleacronym: titlebblockquotecodedddivdldtemh1, h2, h3, h4, h5, h6: idiimg: alt, height, width, src (only HTTP/HTTPS/local URLs)input: type=checkbox, checked, disabledliolppreqspanstrongtabletbodytdththeadtrulAll tags can have the attributes class, style, colspan and
rowspan. The only allowed classes are row, col-md-*, and
form-control.
Here are valid style attributes:
marginpaddingtext-alignfont-weighttext-decorationpadding-{left,right,bottom,top}margin-{left,right,bottom,top}commit 41ab2775e10ce72cd362ba940184bfb4d59118fd Author: Albert Larsan <albertlarsan@albertlarsan.fr> Date: 2026-07-01T20:13:56+02:00 builds.sr.ht/compatibility: Remove NixOS 25.05 It is really far beyond time to remove it.