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 0688b192173baea25e97f0cb155d133f51d85a20 Author: CismonX <admin@cismon.net> Date: 2026-02-21T18:03:46+08:00 builds.sr.ht: clarify FreeBSD image names Rename FreeBSD images to the exact release names used upstream, for better clarity.