Skip to content

feat: add blog with markdown, LaTeX, and syntax highlighting#44

Open
Autoparallel wants to merge 1 commit intomainfrom
feat/blog
Open

feat: add blog with markdown, LaTeX, and syntax highlighting#44
Autoparallel wants to merge 1 commit intomainfrom
feat/blog

Conversation

@Autoparallel
Copy link
Copy Markdown
Member

Summary

  • Blog infrastructure with unified/remark/rehype markdown pipeline supporting GFM, KaTeX math, and shiki syntax highlighting (Tokyo Night dark / GitHub Light dual-theme)
  • Posts authored as .md files in content/blog/ with frontmatter — auto-discovered and statically generated
  • Includes test post exercising LaTeX, Rust/TypeScript code blocks, tables, blockquotes, and lists
  • Fixes pre-existing Node 25 crash (localStorage.getItem is not a function) caused by next-themes SSR + Node 25's broken localStorage global

Test plan

  • npm run dev — verify /blog listing and /blog/hello-world render correctly
  • Toggle light/dark theme — code blocks should switch between GitHub Light and Tokyo Night
  • Verify LaTeX renders (inline and display math)
  • Verify code syntax highlighting for Rust and TypeScript blocks
  • npm run build passes
  • npm run ci:check passes (type-check, format, lint)

🤖 Generated with Claude Code

Blog infrastructure with unified/remark/rehype pipeline supporting
full markdown (GFM), KaTeX math rendering, and shiki syntax
highlighting (Tokyo Night dark / GitHub Light). Posts are authored
as .md files in content/blog/ with frontmatter metadata.

Also fixes a pre-existing Node 25 crash where next-themes calls
localStorage.getItem() on the server — Node 25 exposes a broken
localStorage global that requires --localstorage-file to function.
Added an instrumentation hook to polyfill it as a no-op.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
harnesslabs Ready Ready Preview, Comment Mar 22, 2026 7:58pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant