Back to Blog
DevOps

Production Readiness Check: Tables, Code Blocks, and Rendering

1 min read
Production Readiness Check: Tables, Code Blocks, and Rendering

Why This Post Exists

Before pushing the first version of AstraOps Blog, I wanted to validate how real content behaves after a production build, not just in dev mode.

This post checks:

  • Markdown tables
  • Code blocks
  • Syntax highlighting
  • Copy button behavior

Feature Matrix

FeatureSupportedNotes
TablesYesRendered via GFM
Code BlocksYesHighlighted + copy
ImagesYesUploaded via admin
Preview ModeYesNo hook crashes
Build SafetyYesTested with npm run build

Example: Node Health Endpoint

ts
1import type { NextRequest } from "next/server";
2
3export async function GET(_req: NextRequest) {
4  return Response.json({
5    status: "ok",
6    service: "astraops-blog",
7    timestamp: Date.now(),
8  });
9}

Tags

#nextjs#markdown#devops#production