work.sequential.richtext.facet

Annotation of a range of text: a mention, link or hashtag, or a style. Works like app.bsky.richtext.facet, but facets may overlap so styles can nest, e.g. an italic word inside a bold sentence. The text holds no markup, so apps that don't know these facets still show clean text. AppViews ignore features they don't know.

Repository @sequential.work did:plc:tndzxgswtjuwylmsa5x3whwa namespace authority
Details · object
Kindobject
Authorityrichtext.sequential.work
Indexed

Object

object

Properties

features

requiredarray

What applies to the range. A range can carry several styles, e.g. bold and italic.

index

requiredref

The range of text the features apply to, in UTF-8 bytes. AppViews ignore facets whose range runs past the end of the text or splits a character.

#bold

object

Strong emphasis.

Properties

#code

object

Inline code, shown in a monospace font. Text inside it is shown as-is: AppViews don't create mentions, links or hashtags inside it, ignore any that are there, and ignore other styles inside it.

Properties

#grawlix

object

Text covered by a grawlix, a run of symbols like @#$%&!, until the reader chooses to reveal it, mostly for profanity. Mentions, links and hashtags inside it stay covered and can't be followed until it is revealed. Where it can't be covered, like a notification, apps show symbols in its place.

Properties

#italic

object

Emphasis.

Properties

#spoiler

object

Text hidden until the reader chooses to reveal it. Mentions, links and hashtags inside it stay hidden and can't be followed until it is revealed.

Properties

#strikethrough

object

Struck-through text.

Properties

#underline

object

Underlined text.

Properties

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.