Package Control

The official Sublime Text package manager.

Paste Markdown

Paste Chrome web selections into Sublime Text as Markdown on macOS

By Wuvist
Created June 13, 2026, last updated June 13, 2026.

JunMayAprMarFebJan Dec2025 NovOctSepAugJul 2026-W28 | installs: 0 | removals: 0 | upgrades: 0 2026-W28 | installs: 0 | removals: 0 | upgrades: 0 2026-W28 | installs: 0 | removals: 0 | upgrades: 0 2026-W27 | installs: 1 | removals: 0 | upgrades: 0 2026-W27 | installs: 1 | removals: 0 | upgrades: 0 2026-W27 | installs: 1 | removals: 0 | upgrades: 0 2026-W26 | installs: 3 | removals: 0 | upgrades: 0 2026-W26 | installs: 3 | removals: 0 | upgrades: 0 2026-W26 | installs: 3 | removals: 0 | upgrades: 0 2026-W25 | installs: 3 | removals: 0 | upgrades: 0 2026-W25 | installs: 3 | removals: 0 | upgrades: 0 2026-W25 | installs: 3 | removals: 0 | upgrades: 0 024 WeeklyInstalls 024 WeeklyUpgrades 2026-W24 1.0.2 / 1.0.1 / ... 1.0.2 / 1.0.1 / 1.0.0
Installations: recent average 2 per week, 7 in total
Installations minus removals
Upgrades

Links

Versions

1.0.2 ·
2026-06-13 18:11 — macOS

More
  • (*) 1.0.1 ·
    2026-06-13 18:10 — macOS

  • 1.0.0 ·
    2026-06-13 18:06 — macOS

Paste Markdown for Sublime Text

Paste a web selection copied from Chrome as Markdown instead of plain text.

Usage

  1. Select content on a page in Chrome and copy it with Cmd+C.
  2. Switch to Sublime Text.
  3. Open the Command Palette and run Paste Markdown: Paste HTML as Markdown.

The command converts common HTML elements including headings, paragraphs, emphasis, links, images, lists, blockquotes, code blocks, and tables. If the clipboard does not contain HTML, it pastes plain text by default.

Keyboard shortcut

Package Control packages should not claim shortcuts by default. To use Cmd+Ctrl+V, open Preferences > Package Settings > Paste Markdown > Key Bindings. Copy the example binding into your user keymap.

[
    {
        "keys": ["super+ctrl+v"],
        "command": "paste_markdown"
    }
]

Installation

Install Paste Markdown with Package Control.

For development, open Sublime Text's Preferences > Browse Packages..., then place or symlink this directory there as Paste Markdown:

ln -s /Users/wuvist/code/subl_paste_md \
  "$HOME/Library/Application Support/Sublime Text/Packages/Paste Markdown"

Sublime Text reloads the plugin automatically.

Settings

Open Preferences > Package Settings > Paste Markdown after installing, or override these keys in Packages/User/Paste Markdown.sublime-settings:

{
    "fallback_to_plain_text": true,
    "show_status_message": true
}

Development

The converter uses only Python's standard library. Run its tests with:

python3 -m unittest -v

The rich clipboard integration currently targets macOS.

Results

Packages