starlight-plausible
v0.2.0
Published
Plausible plugin for Astro Starlight
Maintainers
Readme
starlight-plausible
Plausible plugin for Astro Starlight.
Installation
npm install starlight-plausibleUsage
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).
