summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraspizu <aspizu@protonmail.com>2025-03-10 03:40:03 +0530
committeraspizu <aspizu@protonmail.com>2025-03-10 03:40:03 +0530
commit74d877c774dc293deaf1bc49493c4e760ac849b3 (patch)
treef5e12538767d662e1a18243a01a1241a22e1f2a2
parent663aceceb4ff576b4b4c1765434e426c55ebb6fb (diff)
feat: add documentation for configuration
-rw-r--r--src/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts
index 52e5581..2068d0f 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -4,7 +4,10 @@ import gemtextVitePlugin from "./vitePlugin.js"
export const ext = "gmi"
+/** Gemtext configuration options */
export interface GemtextConfig {
+ /** Absolute import path to the layout to use for all gemtext pages.
+ * If not provided, HMR and the Astro toolbar will not work. (default: none) */
layout?: string
}