From 0ed6bf41be126e8a4f274de06545dbf4f3f883c2 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 22 Oct 2022 22:51:50 +0300 Subject: feat: support syntax highlighting --- src/lib/types.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/types.ts') diff --git a/src/lib/types.ts b/src/lib/types.ts index da073e6..2070e0b 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -4,7 +4,7 @@ import { GetStaticPathsResult } from 'next'; export interface Adapter { getStaticMarkdownPaths: (cdn: string) => Promise; getMarkdownSource: (cdn: string, path: string[]) => Promise; - getEmojiFileNames: (cdn: string) => Promise; + getEmojiFileNames: (cdn: string, emojiRootPath: string) => Promise; } export interface BenzinConfig { @@ -12,4 +12,5 @@ export interface BenzinConfig { adapter: Adapter; title: string; faviconPath: string; + emojiRootPath: string; } -- cgit v1.2.3