pub.chive.richtext.facets

chive.pub

Documentation

blockquote object

Blockquote formatting facet

Properties

$type string Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "$type"
  ],
  "properties": {
    "$type": {
      "type": "string",
      "const": "pub.chive.richtext.facets#blockquote"
    }
  },
  "description": "Blockquote formatting facet"
}
bold object

Bold text formatting facet

Properties

$type string Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "$type"
  ],
  "properties": {
    "$type": {
      "type": "string",
      "const": "pub.chive.richtext.facets#bold"
    }
  },
  "description": "Bold text formatting facet"
}
code object

Inline code formatting facet

Properties

$type string Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "$type"
  ],
  "properties": {
    "$type": {
      "type": "string",
      "const": "pub.chive.richtext.facets#code"
    }
  },
  "description": "Inline code formatting facet"
}
codeBlock object

Code block formatting facet

Properties

$type string Required

No description available.

language string Optional

Programming language for syntax highlighting

maxLength: 50 bytes
View raw schema
{
  "type": "object",
  "required": [
    "$type"
  ],
  "properties": {
    "$type": {
      "type": "string",
      "const": "pub.chive.richtext.facets#codeBlock"
    },
    "language": {
      "type": "string",
      "maxLength": 50,
      "description": "Programming language for syntax highlighting"
    }
  },
  "description": "Code block formatting facet"
}
heading object

Heading formatting facet

Properties

$type string Required

No description available.

level integer Required

Heading level (1-6)

minimum: 1maximum: 6
View raw schema
{
  "type": "object",
  "required": [
    "$type",
    "level"
  ],
  "properties": {
    "$type": {
      "type": "string",
      "const": "pub.chive.richtext.facets#heading"
    },
    "level": {
      "type": "integer",
      "maximum": 6,
      "minimum": 1,
      "description": "Heading level (1-6)"
    }
  },
  "description": "Heading formatting facet"
}
italic object

Italic text formatting facet

Properties

$type string Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "$type"
  ],
  "properties": {
    "$type": {
      "type": "string",
      "const": "pub.chive.richtext.facets#italic"
    }
  },
  "description": "Italic text formatting facet"
}
latex object

LaTeX math expression facet

Properties

$type string Required

No description available.

displayMode boolean Required

True for block display ($$...$$), false for inline ($...$)

View raw schema
{
  "type": "object",
  "required": [
    "$type",
    "displayMode"
  ],
  "properties": {
    "$type": {
      "type": "string",
      "const": "pub.chive.richtext.facets#latex"
    },
    "displayMode": {
      "type": "boolean",
      "description": "True for block display ($$...$$), false for inline ($...$)"
    }
  },
  "description": "LaTeX math expression facet"
}
listItem object

List item formatting facet

Properties

$type string Required

No description available.

depth integer Optional

Nesting depth (0-indexed)

minimum: 0maximum: 5
listType string Required

Type of list

Known values: bullet, ordered
ordinal integer Optional

Item number for ordered lists

minimum: 1
View raw schema
{
  "type": "object",
  "required": [
    "$type",
    "listType"
  ],
  "properties": {
    "$type": {
      "type": "string",
      "const": "pub.chive.richtext.facets#listItem"
    },
    "depth": {
      "type": "integer",
      "maximum": 5,
      "minimum": 0,
      "description": "Nesting depth (0-indexed)"
    },
    "ordinal": {
      "type": "integer",
      "minimum": 1,
      "description": "Item number for ordered lists"
    },
    "listType": {
      "type": "string",
      "description": "Type of list",
      "knownValues": [
        "bullet",
        "ordered"
      ]
    }
  },
  "description": "List item formatting facet"
}
strikethrough object

Strikethrough text formatting facet

Properties

$type string Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "$type"
  ],
  "properties": {
    "$type": {
      "type": "string",
      "const": "pub.chive.richtext.facets#strikethrough"
    }
  },
  "description": "Strikethrough text formatting facet"
}

Lexicon Garden

@