com.pagehare.content.markdown

pagehare.com

Documentation

Canonical markdown content for a site.standard.document, embedded in the document's open content union. The markdown string is the canonical article body; optional cover metadata is stored alongside it; the document's textContent and the com.pagehare.facets / com.pagehare.embeds sidecars are derived projections regenerated from it on every write. Note: at.markpub.markdown is tracked as a potential community successor $type once it stabilizes — only this wrapper $type would migrate, never the payload.

main object

Canonical markdown content for a site.standard.document, embedded in the document's open content union. The markdown string is the canonical article body; optional cover metadata is stored alongside it; the document's textContent and the com.pagehare.facets / com.pagehare.embeds sidecars are derived projections regenerated from it on every write. Note: at.markpub.markdown is tracked as a potential community successor $type once it stabilizes — only this wrapper $type would migrate, never the payload.

Properties

cover ref #cover Optional

Optional cover image metadata, separate from the markdown body.

markdown string Required

GitHub-Flavored Markdown source.

maxLength: 1000000 bytesmaxGraphemes: 500000 graphemes
View raw schema
{
  "description": "Canonical markdown content for a site.standard.document, embedded in the document's open content union. The markdown string is the canonical article body; optional cover metadata is stored alongside it; the document's textContent and the com.pagehare.facets / com.pagehare.embeds sidecars are derived projections regenerated from it on every write. Note: at.markpub.markdown is tracked as a potential community successor $type once it stabilizes — only this wrapper $type would migrate, never the payload.",
  "properties": {
    "cover": {
      "description": "Optional cover image metadata, separate from the markdown body.",
      "ref": "#cover",
      "type": "ref"
    },
    "markdown": {
      "description": "GitHub-Flavored Markdown source.",
      "maxGraphemes": 500000,
      "maxLength": 1000000,
      "type": "string"
    }
  },
  "required": [
    "markdown"
  ],
  "type": "object"
}
cover object

No description available.

Properties

alt string Required

Image description; empty for a decorative cover.

url string uri Required

Absolute HTTPS URL of a hosted image.

View raw schema
{
  "properties": {
    "alt": {
      "description": "Image description; empty for a decorative cover.",
      "type": "string"
    },
    "url": {
      "description": "Absolute HTTPS URL of a hosted image.",
      "format": "uri",
      "type": "string"
    }
  },
  "required": [
    "url",
    "alt"
  ],
  "type": "object"
}

Lexicon Garden

@