Skip to content
Calm motion: animations on this site only fade, with no movement

Sources ​

The sources of a reply, with numbered marks that link to them

Shows the pages that a reply uses, under the reply. Each source has a number, so a mark such as 2 in the text can point to it. For a list of links that is not about a reply, use the list.

Basic

Start with the room, not the gear: blankets and a bookshelf stop most of the echo1. One USB microphone is enough for a solo show2, and an export at −16 LUFS sounds right in most apps3.

Sources

  1. How to treat a small room for voiceexample.com

    Soft things on hard walls stop most of the echo, for little money.

  2. USB or XLR: which microphone to buy firstexample.org

    A good USB microphone is enough for one voice at home.

  3. Loudness for podcastsAudio Lab

    Most apps play episodes at about −16 LUFS.

  • sources is a list. Each source has a title, a url, an optional site name, and an optional snippet. With no site, the item shows the host of the URL without www..
  • Item 2 has the id <id>-2. Set id to a fixed value, and link each mark in the reply to #<id>-2. If the reader follows a mark, the item gets the accent color.
  • Put the bless-source-mark class on each mark to get the small numbered box. Give each mark an aria-label such as "source 2", because a lone number does not say much to a screen reader.
  • The list is a region named by its title. Change the title with labels or a label pack: title.

Usage ​

ts
import { BlessSources } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
sources*BlessSource[]—
idstring—the start of the ids of the items: item 2 is `<id>-2`, so a mark `[2]` in the reply can link to `#<id>-2`
labelsPartial<{ title: string; }>—

Released under the MIT License. Character names and artwork belong to their owners.