# download.darkworld.content.markdown

> Published by [kris.darkworld.download](https://lexicon.garden/identity/did:web:vessel.darkworld.download)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:vessel.darkworld.download/download.darkworld.content.markdown)
- [Documentation](https://lexicon.garden/lexicon/did:web:vessel.darkworld.download/download.darkworld.content.markdown/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:vessel.darkworld.download/download.darkworld.content.markdown/examples)

## Definitions

### `download.darkworld.content.markdown#imageRef`

**Type**: `object`

blob keyed by ref in the body

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `blob` | `blob` | Yes |  |
| `imageRef` | `string` | Yes | key used to reference the blob |

### `download.darkworld.content.markdown#markdown`

**Type**: `object`

markdown for rendering in darkworld.download/blog

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `body` | `string` | Yes | markdown source ![alt](imageRef) to embed images |
| `images` | `array` | No | Images referenced in the body with ![alt](imageRef) |

## Raw Schema

```json
{
  "id": "download.darkworld.content.markdown",
  "defs": {
    "imageRef": {
      "type": "object",
      "required": [
        "imageRef",
        "blob"
      ],
      "properties": {
        "blob": {
          "type": "blob",
          "accept": [
            "image/*"
          ],
          "maxSize": 5000000
        },
        "imageRef": {
          "type": "string",
          "maxLength": 512,
          "description": "key used to reference the blob",
          "maxGraphemes": 128
        }
      },
      "description": "blob keyed by ref in the body"
    },
    "markdown": {
      "type": "object",
      "required": [
        "body"
      ],
      "properties": {
        "body": {
          "type": "string",
          "maxLength": 1000000,
          "description": "markdown source ![alt](imageRef) to embed images"
        },
        "images": {
          "type": "array",
          "items": {
            "ref": "#imageRef",
            "type": "ref"
          },
          "maxLength": 128,
          "description": "Images referenced in the body with ![alt](imageRef)"
        }
      },
      "description": "markdown for rendering in darkworld.download/blog"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
