diff options
| author | aspizu <aspizu@protonmail.com> | 2025-03-10 03:40:03 +0530 |
|---|---|---|
| committer | aspizu <aspizu@protonmail.com> | 2025-03-10 03:40:03 +0530 |
| commit | 74d877c774dc293deaf1bc49493c4e760ac849b3 (patch) | |
| tree | f5e12538767d662e1a18243a01a1241a22e1f2a2 /src/index.ts | |
| parent | 663aceceb4ff576b4b4c1765434e426c55ebb6fb (diff) | |
feat: add documentation for configuration
Diffstat (limited to 'src/index.ts')
| -rw-r--r-- | src/index.ts | 3 |
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 } |
