markdown-pipeline
Installation
SKILL.md
Instructions
When to Use
- Use for MDX/Markdown sanitize + GFM pipelines.
- Prefer
content-creatorfor social copy, not MDX plumbing. - Prefer
skillcodex-browser-uifor the doc browser shell.
Design a markdown/MDX rendering pipeline for docs or blogs in Next.js.
- User-generated content: sanitize HTML; forbid raw
dangerouslySetInnerHTMLwithout allowlist. - GFM: tables, task lists, strikethrough via
remark-gfm. - Syntax highlight: server vs client component for Shiki or prism - pick based on bundle budget.
- Links:
relon external; heading slug plugin alignment with TOC. - Images:
next/imagein MDX wrapper components with dimensions.
Outcomes
- Plugin list + security policy paragraph + component map.