at.markpub.facets.baseBlocks

Repository @markpub.at did:plc:kfxbexqtvw76572grhv2f3on namespace authority
Details · object
Kindobject
Authorityfacets.markpub.at
Indexed

Object

object

Properties

features

requiredarray

index

requiredref
Reference

#byteSlice

object

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. Byte slices can overlap.

Properties

byteEnd

requiredinteger
  • minimum: 0

byteStart

requiredinteger
  • minimum: 0

#horizontalRule

object

Place an `<hr>` element at the provided byte index.

Properties

#raw

object

Place raw text at the provided byte index. This is a powerful escape hatch for anything that can't be achieved with the other facet features, but use it with caution as it can easily break things if used incorrectly. Do not expect systems to render it.

Properties

#yamlFrontMatter

object

Identify a block of front matter at the top of the Markdown block. It is expected that this has a byteStart and byteEnd.

Properties

Similar lexicons

semantic match

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

  • 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. Byte slices can overlap.

  • Annotation of a sub-string within the parent record's `textContent`. Byte offsets refer to a UTF-8 encoding of the string. A single facet may carry multiple features that all apply to the same byte range.

  • Annotation of a sub-string within rich text.

  • Annotation of a sub-string within rich text.