Publisher Medium
Convert blog posts to Medium-ready HTML format with image upload markers
$ npx claude-code-templates@latest --command="marketing/publisher-medium" --yesRequires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this command
Component source
Medium Article Converter
Convert blog posts to Medium-ready format with proper HTML structure and image handling.
Usage:$ARGUMENTS
Examples:
/publisher:medium my-post # Default English
/publisher:medium my-post ja # Japanese
/publisher:medium article.md # From file path
/publisher:medium https://blog.com/post # From URL
Process:
- Parse Input & Detect Source
- Optional language parameter (en/ja)
- Universal Input Detection
- URL: WebFetch to retrieve content
- Slug: Search codebase for blog post
- Convert to Medium Format
- Convert to clean HTML suitable for Medium
- Preserve headers, lists, code blocks, quotes
- Add image upload markers for diagrams
- Include image paths for easy upload reference
- Create HTML Preview File
medium-article-[LANG].html preview
- Include one-click copy button
- Add image upload instructions with file paths
- Use Medium-style formatting and colors
- Open in Browser
- Open Medium editor (https://medium.com/new-story)
- User can copy HTML and paste into Medium
- Follow image markers to upload diagrams
Output:- HTML preview file with copy button
- Clear image upload markers
- File paths shown for each image
- Ready to paste into Medium editor
Related Claude Code Commands
Publisher All
Generate content for ALL platforms at once (X, LinkedIn, Medium, Dev.to)
Publisher X
Generate copy-pastable X/Twitter threads from blog posts, articles, PDFs, or URLs with 3 format options
Publisher Linkedin
Generate LinkedIn posts from blog content with automatic media attachment via LinkedIn API
Publisher Devto
Generate Dev.to RSS feed from all blog posts for automatic syndication
Generate Tests
Generate a complete test file for a specified source file or component. Use when the user explicitly asks to write, create, or generate tests for a specific file.
Ultra Think
Multi-framework structured analysis: surfaces hidden assumptions, generates competing solutions, stress-tests each with adversarial reasoning, and delivers confidence-calibrated recommendations
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.