2025-03-10 03:40:03 +05:30
2025-03-10 02:58:09 +05:30
2025-03-10 02:58:09 +05:30
2025-03-10 02:58:09 +05:30
2025-03-10 02:58:09 +05:30
2025-03-10 02:59:50 +05:30
2025-03-10 03:37:47 +05:30
2025-03-10 02:58:09 +05:30

astro-gemtext

https://www.npmjs.com/package/astro-gemtext

Installation

bun add --save astro-gemtext

Add to astro.config.mjs

import gemtext from "astro-gemtext"

export default defineConfig({
    integrations: [gemtext({layout: "/src/layouts/Layout.astro"})],
})

Usage

Create a /src/pages/example.gmi file

# Hello World

This is a gemtext file.

=> gemtext.gemini README.md

Configuration

layout

The layout to use for the page. Set to an absolute import path such as /src/layouts/Layout.astro. If you do not use a layout, you will not get HMR, or the Astro toolbar.

S
Description
gemtext integration for Astro. Forked from github.com/aspizu/astro-gemtext
Readme MIT 257 KiB
Languages
TypeScript 100%