From 74d877c774dc293deaf1bc49493c4e760ac849b3 Mon Sep 17 00:00:00 2001 From: aspizu Date: Mon, 10 Mar 2025 03:40:03 +0530 Subject: [PATCH] feat: add documentation for configuration --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) 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 }