Skip to content

jakebellacera/starlight-plausible

Repository files navigation

starlight-plausible

Pull request checks

Plausible plugin for Astro Starlight.

Installation

npm install starlight-plausible

Usage

Import the plugin to your Starlight config:

import { defineConfig } from "astro/config";
import astroConfig from "astro-config";

export default defineConfig({
  integrations: [
    starlight({
      plugins: [plausible({ domain: "example.com" })],
    }),
  ],
});

Options

The plausible plugin has two options:

option required description
domain The domain to use.
enableFeedback If true, the feedback widget will be enabled. Events will be triggered with the label: Feedback: {good | bad} .

Contributing

Contributors welcome! Please submit an issue or pull request.

License

See the LICENSE for license rights and limitations (MIT).

About

Plausible plugin for Astro Starlight.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors