---
title: '@svartz/plugins/preview'
description: The `@svartz/plugins/preview` entry point.
updated_at: '2026-11-25T18:59:45+01:00'
---

# @svartz/plugins/preview

## Interfaces

- [PreviewNote](https://svartz.dev/reference/api/plugins/preview/previewnote.md) — A published note a preview's links can name.
- [PreviewOptions](https://svartz.dev/reference/api/plugins/preview/previewoptions.md)

## Functions

- [renderPreview](https://svartz.dev/reference/api/plugins/preview/renderpreview.md) — The note's HTML, rendered from `markdown` (frontmatter and all) as the site would render its body. A URL naming one of `options.attachments`, by the build's rules, links to where the build publishes it: `<base><mount>/<vault path>`. Any other relative URL resolves from the note's page, as on the site.
