Plausible plugin for Astro Starlight.
npm install starlight-plausible
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" })],
}),
],
});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} . |
Contributors welcome! Please submit an issue or pull request.
See the LICENSE for license rights and limitations (MIT).