Across the site, sr.ht uses a consistent Markdown syntax based on Python's Markdown package, which implements John Gruber's original Markdown specification.

Table of Contents

  1. Tags
  2. Attributes

We then post-process the HTML to strip out unwanted tags and attributes.

Tags

Attributes

We allow the id attribute on h* tags and the class attribute on all tags - the only permitted values of class are:

You may also specify the style tag, for which you may specify the following attributes:

input elements may specify type='checkbox' as well as the checked attribute.

a tags may specify href and title.

abbr and acronym tags may specify title.

About this wiki

commit 317a65b12acde1851bcf637602605f9fc8a7d3d6
Author: Drew DeVault <sir@cmpwn.com>
Date:   2019-09-11T22:30:51+00:00

builds.sr.ht/manifest.md: add newline
Clone this wiki
https://git.sr.ht/~sircmpwn/sr.ht-docs (read-only)
git@git.sr.ht:~sircmpwn/sr.ht-docs (read/write)