diff --git a/README.md b/README.md index 9870c02..9183e05 100644 --- a/README.md +++ b/README.md @@ -10,15 +10,10 @@ npx quartz plugin add github:quartz-community/remove-draft ## Usage -```ts -// quartz.config.ts -import * as ExternalPlugin from "./.quartz/plugins"; - -const config: QuartzConfig = { - plugins: { - filters: [ExternalPlugin.RemoveDrafts()], - }, -}; +```yaml title="quartz.config.yaml" +plugins: + - source: github:quartz-community/remove-draft + enabled: true ``` ## Configuration @@ -27,7 +22,7 @@ This plugin has no configuration options. ## Documentation -See the [Quartz documentation](https://quartz.jzhao.xyz/) for more information. +See the [Quartz documentation](https://quartz.jzhao.xyz/plugins/RemoveDrafts) for more information. ## License