Quick Start
Serve a Directory
Section titled “Serve a Directory”# Development mode: live reload, no caching, file watchingdynamic-markdown-site -dev -root ./docsAny .md file in ./docs is now a page on your site. Edit a file, save, and the browser auto-reloads.
Serve from S3
Section titled “Serve from S3”dynamic-markdown-site -storage-url s3://my-bucket/docsThe server reads directly from S3. No sync step, no local files.
Serve from Google Cloud Storage
Section titled “Serve from Google Cloud Storage”dynamic-markdown-site -storage-url gs://my-bucket/docsDirectory Structure
Section titled “Directory Structure”docs/├── index.md # -> /├── getting-started/│ ├── index.md # -> /getting-started/│ └── install.md # -> /getting-started/install├── api/│ ├── auth.md # -> /api/auth│ └── users.md # -> /api/users└── about.md # -> /aboutDirectories without an index.md show a navigable card grid of their contents.
Frontmatter
Section titled “Frontmatter”Each markdown file can include YAML frontmatter:
---title: "Getting Started"description: "How to get up and running in 60 seconds"author: "Team"tags: ["guide", "setup"]draft: false---Files with draft: true are excluded from the site.
Search
Section titled “Search”Full-text search is built in at /search?q=your-query. Results are ranked by:
- Exact title match (100%)
- Partial title match (50%)
- Content body match (30%)
Matches are highlighted with <mark> tags and shown with surrounding context.
Refresh Content
Section titled “Refresh Content”If you’re not using dev mode (no file watcher), trigger a manual refresh:
curl -X POST http://localhost:8080/refreshRate limited to 10 requests per minute per IP.