Built-in Components
Documentation components you can use directly in your markdown files.
Callouts
Use callouts to highlight important information.
Note
This is a note callout. Use it for general information the reader should be aware of.
Tip
This is a tip callout. Use it for helpful suggestions and best practices.
Warning
This is a warning callout. Use it for potential issues or things to watch out for.
Danger
This is a danger callout. Use it for critical warnings about destructive or irreversible actions.
You can also customize the title:
Custom Title
Callouts support custom titles via the `title` prop.
Tabs
Use tabs to show alternative content, like different package managers:
npm install svelte-docs-starterSteps
Use steps for sequential instructions:
Create a new project
Clone the template repository and install dependencies.
Configure your site
Edit src/lib/docs/config.ts with your site details.
Write your content
Add markdown files to src/content/docs/.
Deploy
Build and deploy to your hosting provider.
Cards
Use cards to highlight features or key information:
📝 Markdown Powered
Write documentation in Markdown with full MDSvex support for Svelte components.
🔍 Fast Search
Built-in full-text search powered by Pagefind with zero JavaScript overhead.
🌙 Dark Mode
Automatic light and dark theme support with system preference detection.
📈 SEO Ready
OpenGraph, Twitter cards, JSON-LD structured data, and auto-generated sitemap.
Link Cards
Use link cards for navigation:
Badges
Use badges to indicate status: New Experimental Deprecated v1.0.0
File Tree
Display directory structures:
- src/
- content/
- docs/
- index.md
- getting-started/
- installation.md
- guides/
- configuration.md
- docs/
- lib/
- components/
- docs/
- callout.svelte
- tabs.svelte
- docs/
- docs/
- config.ts
- content.ts
- components/
- content/