{
 "schema_version": 1,
 "generated": "2026-10-23",
 "id": "hamzafer-claude-code-mods--preview-markdown-edits-like-github",
 "repo": "hamzafer/claude-code-mods",
 "repo_url": "https://github.com/hamzafer/claude-code-mods",
 "repo_slug": "hamzafer-claude-code-mods",
 "title": "Preview Markdown edits as GitHub renders them",
 "page_title": "How to preview Markdown edits as GitHub renders them with Claude Code Mods",
 "summary": "See the Markdown files Claude edits rendered like GitHub, with before and after side by side.",
 "who": "A writer or developer who has Claude Code edit README files or docs and wants to check the rendered result before committing.",
 "problem": "Markdown edits are hard to judge in raw text, and rendering differences from GitHub show up only after a push.",
 "outcome": "Edited Markdown files open as a GitHub-style render with the before and after shown side by side.",
 "steps": [
  "Run `npx claude-code-mods@latest`, tick md-preview in the checklist, and press Enter.",
  "Confirm Chrome is installed and your terminal shows images, as the README requires.",
  "Restart Claude Code.",
  "Ask Claude Code to edit a Markdown file such as README.md.",
  "Type `/md` to open the rendered preview and compare before and after."
 ],
 "agent_prompt": "In the hamzafer/claude-code-mods repo, install md-preview, then ask Claude Code to edit <markdown-file>. Run /md and expect a GitHub-style render with before and after side by side; verify the edited text appears in the after view.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "md-preview needs Chrome and a terminal that shows images, so it will not work in a plain text-only terminal.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Claude Code 2.1.287 or newer",
  "npx available on your computer (the README installs with npx claude-code-mods@latest)",
  "Chrome, a terminal that shows images, and the Spotify app only for the mods that need them (md-preview, now-playing)",
  "An OpenAI organization Admin key only for openai-balance"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/hamzafer-claude-code-mods/preview-markdown-edits-like-github/",
 "md": "https://dedupedai.com/use-cases/hamzafer-claude-code-mods/preview-markdown-edits-like-github/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/hamzafer-claude-code-mods--preview-markdown-edits-like-github.json",
 "api_version": "v1"
}
