diff --git a/AGENTS.md b/AGENTS.md index 2c4c367..35665dc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -22,7 +22,7 @@ Your content is instantly available to browsers, LLMs, and AI agents.. Write mar - **Total Posts**: 17 - **Total Pages**: 4 - **Latest Post**: 2025-12-29 -- **Last Updated**: 2026-01-04T05:50:22.819Z +- **Last Updated**: 2026-01-04T17:25:36.680Z ## Tech stack diff --git a/CLAUDE.md b/CLAUDE.md index 66815f9..fe71843 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,7 +5,7 @@ Project instructions for Claude Code. ## Project context - + Markdown sync framework. Write markdown in `content/`, run sync commands, content appears instantly via Convex real-time database. Built for developers and AI agents. diff --git a/content/pages/about.md b/content/pages/about.md index 4b61e1e..a9aa2f4 100644 --- a/content/pages/about.md +++ b/content/pages/about.md @@ -18,15 +18,15 @@ An open-source publishing framework built for AI agents and developers to ship w **Development:** -- `npm run sync` - Sync markdown content -- `npm run sync:discovery` - Update discovery files (AGENTS.md, llms.txt) -- `npm run sync:all` - Sync content + discovery files together +- npm run sync - Sync markdown content +- npm run sync:discovery - Update discovery files (AGENTS.md, llms.txt) +- npm run sync:all - Sync content + discovery files together **Production:** -- `npm run sync:prod` - Sync markdown content -- `npm run sync:discovery:prod` - Update discovery files -- `npm run sync:all:prod` - Sync content + discovery files together +- npm run sync:prod - Sync markdown content +- npm run sync:discovery:prod - Update discovery files +- npm run sync:all:prod - Sync content + discovery files together **Version controlled.** Markdown source files live in your repo alongside code. Commit changes, review diffs, roll back like any codebase. The sync command pushes content to the database. diff --git a/content/pages/docs.md b/content/pages/docs.md index 1916993..821e7b5 100644 --- a/content/pages/docs.md +++ b/content/pages/docs.md @@ -25,15 +25,15 @@ Reference documentation for setting up, customizing, and deploying this markdown **Development:** -- `npm run sync` - Sync markdown content -- `npm run sync:discovery` - Update discovery files (AGENTS.md, llms.txt) -- `npm run sync:all` - Sync content + discovery files together +- npm run sync - Sync markdown content +- npm run sync:discovery - Update discovery files (AGENTS.md, llms.txt) +- npm run sync:all - Sync content + discovery files together **Production:** -- `npm run sync:prod` - Sync markdown content -- `npm run sync:discovery:prod` - Update discovery files -- `npm run sync:all:prod` - Sync content + discovery files together +- npm run sync:prod - Sync markdown content +- npm run sync:discovery:prod - Update discovery files +- npm run sync:all:prod - Sync content + discovery files together ## Quick start diff --git a/public/llms.txt b/public/llms.txt index 0942e7f..091d76e 100644 --- a/public/llms.txt +++ b/public/llms.txt @@ -1,6 +1,6 @@ # llms.txt - Information for AI assistants and LLMs # Learn more: https://llmstxt.org/ -# Last updated: 2026-01-04T05:50:22.820Z +# Last updated: 2026-01-04T17:25:36.682Z > Your content is instantly available to browsers, LLMs, and AI agents. diff --git a/public/raw/about.md b/public/raw/about.md index d3b0833..b372af8 100644 --- a/public/raw/about.md +++ b/public/raw/about.md @@ -17,15 +17,15 @@ An open-source publishing framework built for AI agents and developers to ship w **Development:** -- `npm run sync` - Sync markdown content -- `npm run sync:discovery` - Update discovery files (AGENTS.md, llms.txt) -- `npm run sync:all` - Sync content + discovery files together +- npm run sync - Sync markdown content +- npm run sync:discovery - Update discovery files (AGENTS.md, llms.txt) +- npm run sync:all - Sync content + discovery files together **Production:** -- `npm run sync:prod` - Sync markdown content -- `npm run sync:discovery:prod` - Update discovery files -- `npm run sync:all:prod` - Sync content + discovery files together +- npm run sync:prod - Sync markdown content +- npm run sync:discovery:prod - Update discovery files +- npm run sync:all:prod - Sync content + discovery files together **Version controlled.** Markdown source files live in your repo alongside code. Commit changes, review diffs, roll back like any codebase. The sync command pushes content to the database. diff --git a/public/raw/changelog.md b/public/raw/changelog.md index b75e7fb..1f8be94 100644 --- a/public/raw/changelog.md +++ b/public/raw/changelog.md @@ -7,6 +7,22 @@ Date: 2026-01-04 All notable changes to this project. +## v2.8.6 + +Released January 4, 2026 + +**Fork configuration improvements** + +- Fork configuration script now updates 14 files (was 11) + - Added `src/pages/DocsPage.tsx` (SITE_URL constant) + - Added `netlify/edge-functions/mcp.ts` (SITE_URL, SITE_NAME, MCP_SERVER_NAME) + - Added `scripts/send-newsletter.ts` (default SITE_URL) + - Improved `public/openapi.yaml` handling for all example URLs +- Logo gallery hrefs now use relative URLs instead of hardcoded markdown.fast URLs +- Updated `fork-config.json.example` with missing options (statsPage, mcpServer, imageLightbox) + +Updated files: `scripts/configure-fork.ts`, `src/config/siteConfig.ts`, `FORK_CONFIG.md`, `content/blog/fork-configuration-guide.md`, `fork-config.json.example` + ## v2.8.5 Released January 3, 2026 diff --git a/public/raw/documentation.md b/public/raw/documentation.md index 8306990..e103a52 100644 --- a/public/raw/documentation.md +++ b/public/raw/documentation.md @@ -15,15 +15,15 @@ Reference documentation for setting up, customizing, and deploying this markdown **Development:** -- `npm run sync` - Sync markdown content -- `npm run sync:discovery` - Update discovery files (AGENTS.md, llms.txt) -- `npm run sync:all` - Sync content + discovery files together +- npm run sync - Sync markdown content +- npm run sync:discovery - Update discovery files (AGENTS.md, llms.txt) +- npm run sync:all - Sync content + discovery files together **Production:** -- `npm run sync:prod` - Sync markdown content -- `npm run sync:discovery:prod` - Update discovery files -- `npm run sync:all:prod` - Sync content + discovery files together +- npm run sync:prod - Sync markdown content +- npm run sync:discovery:prod - Update discovery files +- npm run sync:all:prod - Sync content + discovery files together ## Quick start diff --git a/src/components/BlogPost.tsx b/src/components/BlogPost.tsx index cae79cd..3e50f30 100644 --- a/src/components/BlogPost.tsx +++ b/src/components/BlogPost.tsx @@ -36,6 +36,7 @@ const sanitizeSchema = { p: ["style"], // Allow inline styles on p elements a: ["style", "href", "target", "rel"], // Allow inline styles on links img: [...(defaultSchema.attributes?.img || []), "style"], // Allow inline styles on images + span: ["className", "class", "style"], // Allow class attribute on span for copy-command iframe: [ "src", "width", @@ -71,6 +72,30 @@ function CodeCopyButton({ code }: { code: string }) { ); } +// Inline copy button for commands in lists +function InlineCopyButton({ command }: { command: string }) { + const [copied, setCopied] = useState(false); + + const handleCopy = async (e: React.MouseEvent) => { + e.preventDefault(); + e.stopPropagation(); + await navigator.clipboard.writeText(command); + setCopied(true); + setTimeout(() => setCopied(false), 2000); + }; + + return ( + + ); +} + // Image lightbox component function ImageLightbox({ src, @@ -706,6 +731,19 @@ export default function BlogPost({ td({ children }) { return
{command}
+ {command}
+