تخطَّ إلى المحتوى
أمرمستورد

publisher-medium

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

وصف مستورد لم يراجعه محرر بعد

جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

التنزيل

الملفات: 1 · الحجم: 2.8 ك.ب

نزّل ملف ZIP

يحمل الملف ترخيص المصدر الأصلي.

التثبيت

بعد التنزيل، شغّل الأمر في الطرفية. يسأل unzip قبل أن يستبدل أي ملف موجود.

  • لهذا المشروع

    يوضع في: .claude/commands/

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

  • لحسابك على الجهاز كله

    يوضع في: ~/.claude/commands/

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

التعليمات

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.

الملفات

  • LICENSE1 ك.ب
  • publisher-medium.md1.7 ك.ب

ما وجده الفحص الآلي

فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.

  • يحتاج مراجعةأدوات مسموحة بلا حدود

    في الملف cli-tool/components/commands/marketing/publisher-medium.md

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ