app_bsky_richtext_facet library

Classes

RichtextFacet
Annotation of a sub-string within rich text.
RichtextFacetByteSlice
Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.
RichtextFacetByteSliceConverter
RichtextFacetConverter
Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL.
RichtextFacetLinkConverter
RichtextFacetMention
Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID.
RichtextFacetMentionConverter
RichtextFacetTag
Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags').
RichtextFacetTagConverter
URichtextFacetFeatures
URichtextFacetFeaturesConverter

Extensions

RichtextFacetByteSlicePatterns on RichtextFacetByteSlice
Adds pattern-matching-related methods to RichtextFacetByteSlice.
RichtextFacetLinkPatterns on RichtextFacetLink
Adds pattern-matching-related methods to RichtextFacetLink.
RichtextFacetMentionPatterns on RichtextFacetMention
Adds pattern-matching-related methods to RichtextFacetMention.
RichtextFacetPatterns on RichtextFacet
Adds pattern-matching-related methods to RichtextFacet.
RichtextFacetTagPatterns on RichtextFacetTag
Adds pattern-matching-related methods to RichtextFacetTag.
URichtextFacetFeaturesExtension on URichtextFacetFeatures
URichtextFacetFeaturesPatterns on URichtextFacetFeatures
Adds pattern-matching-related methods to URichtextFacetFeatures.