Skip to content
CommandImported

publisher-medium

Convert blog posts to Medium-ready HTML format with image upload markers

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 2.8 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/publisher-medium.zip -d .claude/commands

  • For your account on the whole machine

    It goes in: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/publisher-medium.zip -d ~/.claude/commands

Instructions

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:

  1. Parse Input & Detect Source

    • File path, URL, or blog post slug
    • Optional language parameter (en/ja)
  2. Universal Input Detection

    • File: Read markdown, PDF, HTML, or text
    • URL: WebFetch to retrieve content
    • Slug: Search codebase for blog post
  3. Convert to Medium Format

    • Parse markdown and extract frontmatter
    • 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
  4. Create HTML Preview File

    • Generate medium-article-[LANG].html preview
    • Include one-click copy button
    • Add image upload instructions with file paths
    • Use Medium-style formatting and colors
  5. Open in Browser

    • Open HTML preview file
    • 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

Note: Works universally - no dependencies required, just Read, Write, and Bash tools.

Files

  • LICENSE1 KB
  • publisher-medium.md1.7 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookAllowed tools with no limits

    In file cli-tool/components/commands/marketing/publisher-medium.md

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report