From af81e2247b6414816e3051abb074bbcc400d1b5a Mon Sep 17 00:00:00 2001 From: bingryan Date: Mon, 24 Jul 2023 11:47:16 +0800 Subject: [PATCH] chore: add more metadata --- src/config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/config.ts b/src/config.ts index 1416896..ef1fdaf 100644 --- a/src/config.ts +++ b/src/config.ts @@ -13,6 +13,11 @@ export interface IbookPluginSettings { const defaultTemplate = ` --- +book: {{library.ZSORTTITLE}} +author: {{library.ZAUTHOR}} +language: {{library.ZLANGUAGE}} +last_opened: {{date ZLASTOPENDATE "YYYY/MM/DDTHH:mm:ss" }} +last_highlight: {{date ZANNOTATIONMODIFICATIONDATE "YYYY/MM/DDTHH:mm:ss "}} tags: - ibook/ ---