2024-02-23 21:07:53 +01:00
---
title : RemoveDrafts
2026-05-24 19:48:32 +02:00
description : Filters out pages marked as drafts.
2024-02-23 21:07:53 +01:00
tags :
- plugin/filter
2026-03-19 22:18:42 +01:00
image :
2026-05-24 20:05:18 +02:00
repository : "[quartz-community/remove-draft](https://github.com/quartz-community/remove-draft)"
2026-05-24 19:46:42 +02:00
enabled : true
required : false
2024-02-23 21:07:53 +01:00
---
This plugin filters out content from your vault, so that only finalized content is made available. This prevents [[private pages]] from being published. By default, it filters out all pages with `draft: true` in the frontmatter and leaves all other pages intact.
> [!note]
2024-04-03 16:30:41 -04:00
> For information on how to add, remove or configure plugins, see the [[configuration#Plugins|Configuration]] page.
2024-02-23 21:07:53 +01:00
This plugin has no configuration options.
## API
- Category: Filter
2026-03-14 18:10:02 +01:00
- Function name: `ExternalPlugin.RemoveDrafts()` .
- Source: [`quartz-community/remove-draft` ](https://github.com/quartz-community/remove-draft )
- Install: `npx quartz plugin add github:quartz-community/remove-draft`