# com.scanash.content.markdown

> Published by [scanash.com](https://lexicon.garden/identity/did:plc:3i6uzuatdyk7rwfkrybynf5j)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:3i6uzuatdyk7rwfkrybynf5j/com.scanash.content.markdown)
- [Documentation](https://lexicon.garden/lexicon/did:plc:3i6uzuatdyk7rwfkrybynf5j/com.scanash.content.markdown/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:3i6uzuatdyk7rwfkrybynf5j/com.scanash.content.markdown/examples)

## Definitions

### `com.scanash.content.markdown`

**Type**: `object`

Markdown source body for a site.standard.document. Used as the value of the document's open `content` union (a single union value, not an array).

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `images` | `array` | No | Inline image blobs referenced by the markdown body, kept here so the PDS retains the blobs. |
| `markdown` | `string` | Yes | CommonMark / GitHub-flavored Markdown source for the document body. |

## Raw Schema

```json
{
  "id": "com.scanash.content.markdown",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "markdown"
      ],
      "properties": {
        "images": {
          "type": "array",
          "items": {
            "ref": "com.scanash.content.image",
            "type": "ref"
          },
          "description": "Inline image blobs referenced by the markdown body, kept here so the PDS retains the blobs."
        },
        "markdown": {
          "type": "string",
          "maxLength": 1000000,
          "description": "CommonMark / GitHub-flavored Markdown source for the document body.",
          "maxGraphemes": 100000
        }
      },
      "description": "Markdown source body for a site.standard.document. Used as the value of the document's open `content` union (a single union value, not an array)."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
