What problem does it solve?
Medium's rich-text editor does not parse raw markdown, so cross-posting a markdown blog article requires converting the body to HTML and simulating a paste event into the editor's contenteditable model. This Skill automates that entire flow, including title insertion, code-block preservation, topic tagging, and final publishing.
Core Features & Use Cases
- Markdown-to-Medium conversion: Uses pandoc to convert GFM markdown to HTML, then injects it via a simulated paste event with a DataTransfer payload so Medium's editor ingests it correctly.
- Code block integrity: Replaces blank lines inside fenced code blocks with zero-width spaces (U+200B) so Medium does not split one code block into multiple blocks, with post-publish verification checks.
- End-to-end publishing flow: Opens the new-story page, inserts the title via execCommand, pastes the body, adds topics, clicks Publish, and retrieves the canonical public URL.
- Use Case: After committing a new reactuse.com blog post to GitHub, cross-post the English version to Medium (@wul55267) as part of a multi-platform distribution pipeline alongside dev.to, Hashnode, and 掘金.
Quick Start
Publish the latest blog post from blog-external to Medium using the publish-medium workflow.