From 137d55eb1b64e87ff6f3cec52786e5e1bb68798e Mon Sep 17 00:00:00 2001
From: Ben Schlegel <31989404+benschlegel@users.noreply.github.com>
Date: Tue, 12 Nov 2024 12:33:35 +0000
Subject: [PATCH] feat(open-graph): generate OG images + further OG support (#740)
---
quartz/plugins/transformers/toc.ts | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/quartz/plugins/transformers/toc.ts b/quartz/plugins/transformers/toc.ts
index bfc2f98..791547b 100644
--- a/quartz/plugins/transformers/toc.ts
+++ b/quartz/plugins/transformers/toc.ts
@@ -25,9 +25,7 @@
}
const slugAnchor = new Slugger()
-export const TableOfContents: QuartzTransformerPlugin<Partial<Options> | undefined> = (
- userOpts,
-) => {
+export const TableOfContents: QuartzTransformerPlugin<Partial<Options>> = (userOpts) => {
const opts = { ...defaultOptions, ...userOpts }
return {
name: "TableOfContents",
--
Gitblit v1.10.0