Getting Started
Installation
Section titled “Installation”-
Install the
starlight-dot-mdpackage in your Starlight project:Terminal window npm install starlight-dot-md@latestTerminal window pnpm add starlight-dot-mdTerminal window yarn add starlight-dot-md -
Add
starlightDotMd()to your Astro config file:astro.config.mjs import starlight from "@astrojs/starlight";import { defineConfig } from "astro/config";import starlightDotMd from "starlight-dot-md";export default defineConfig({integrations: [starlight({// ...plugins: [starlightDotMd()],}),],}); -
Start the development server:
Terminal window npm run devTerminal window pnpm run devTerminal window yarn run dev -
Access any page’s source by appending
.mdto its URL (e.g., for a page at/guides/example, access/guides/example.md).