---
title: ContentSlot
description: >-
  Which content slot (callout, code block, image, link, embed) renders each
  element of a note's HTML tree, the props that slot's component receives, and
  the attributes that survive sanitizing. The build compiles notes with it
  (`compileContent`), and `@svartz/ui` renders a preview in the browser with it,
  so both treat a tree the same way.
updated_at: '2026-11-19T09:51:44+01:00'
created_at: '2026-11-12T12:04:45+01:00'
symbol:
  kind: type
  name: ContentSlot
  signatures:
    - type ContentSlot = "callout" | "codeBlock" | "image" | "link" | "embed"
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugins/src/content.ts#L8
---

# ContentSlot
