From c97fd7089ad372537114ab469f1f9d6e95e5237a Mon Sep 17 00:00:00 2001
From: Stephen Tse <Stephen-X@users.noreply.github.com>
Date: Thu, 06 Mar 2025 01:14:06 +0000
Subject: [PATCH] Added emoji support to Satori when generating OG images (#1593)
---
quartz/plugins/types.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/plugins/types.ts b/quartz/plugins/types.ts
index a23f5d6..667799f 100644
--- a/quartz/plugins/types.ts
+++ b/quartz/plugins/types.ts
@@ -18,7 +18,7 @@
) => QuartzTransformerPluginInstance
export type QuartzTransformerPluginInstance = {
name: string
- textTransform?: (ctx: BuildCtx, src: string | Buffer) => string | Buffer
+ textTransform?: (ctx: BuildCtx, src: string) => string
markdownPlugins?: (ctx: BuildCtx) => PluggableList
htmlPlugins?: (ctx: BuildCtx) => PluggableList
externalResources?: (ctx: BuildCtx) => Partial<StaticResources>
--
Gitblit v1.10.0