Skip to content

Built-in Components

Documentation components you can use directly in your markdown files.

2 min read

Callouts

Use callouts to highlight important information.

You can also customize the title:

Tabs

Use tabs to show alternative content, like different package managers:

npm install svelte-docs-starter

Steps

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
    • lib/
      • components/
        • docs/
          • callout.svelte
          • tabs.svelte
      • docs/
        • config.ts
        • content.ts