Takazudo Modular Docs

Type to search...

to open search from anywhere

/sub-packages/zmdpreview/CLAUDE.md

CLAUDE.md at /sub-packages/zmdpreview/CLAUDE.md

Path: sub-packages/zmdpreview/CLAUDE.md

zmdpreview

zudo-doc-based Mercari product description previewer. Renders product markdown files with image galleries for editing and review before syncing back to CSV.

Quick Start

pnpm dev      # Start dev server on localhost:14188
pnpm build    # Static build

Port

PortService
14188Astro dev server

Content

Product markdown files live in src/content/docs/products/ with naming convention: {product-slug}__{mercariProductId}.md

Frontmatter includes image1image20 fields containing image slugs. The image gallery component renders these from https://takazudomodular.com/images/p/{slug}/mercari.png.

Key Files

  • src/content.config.ts — Content collection with custom generateId for __ filenames
  • src/components/product-image-gallery.astro — Image gallery for product pages
  • src/plugins/ — Inlined remark/rehype plugins (no external @zudo-doc/md-plugins dependency)