From d002f00e3e69a86f1dd2bf92b5c07fa85763af2a Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 5 Jan 2024 16:33:43 +0800 Subject: [PATCH] Add image to variables list This lets users set banner images for the articles using the banners plugin for Obsidian. --- src/api.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api.ts b/src/api.ts index 9f1db74..9669ed6 100644 --- a/src/api.ts +++ b/src/api.ts @@ -49,6 +49,7 @@ export interface Article { content: string publishedAt?: string url: string + image?: string readAt?: string wordsCount?: number readingProgressPercent: number @@ -112,6 +113,7 @@ export const loadArticles = async ( siteName originalArticleUrl url + image author updatedAt description