Hello World

Hello World

Welcome to md-cms — a markdown-powered content management system built on Cloudflare Workers.

Features

  • Write content in Markdown with frontmatter
  • Automatic syntax highlighting for code blocks
  • Full-text search powered by SQLite FTS5
  • Four beautiful themes: light, dark, tan, and cloud
  • Admin dashboard for managing content

Example Code

import { env } from "cloudflare:workers";

const result = await env.DB
  .prepare("SELECT * FROM content WHERE status = ?")
  .bind("published")
  .all();

console.log(result);

What's Next

  1. Create more posts using markdown files
  2. Sync them to the database with npm run sync
  3. Or use the dashboard to create content directly

Happy writing!

← Back to blog