md-to-linkedin
БесплатноЗапускает вложенные скриптыНе проверенConvert a Markdown article into rich text for LinkedIn's article editor, which has no Markdown and renders no tables. Headings, bold, italics, lists, quotes…
от j3ffyang393 установки в других каталогахОб этом скилле
md-to-linkedin — Markdown into LinkedIn's article editor
LinkedIn's long-form editor has no Markdown mode. Paste raw Markdown and you get literal asterisks. Paste HTML and the editor applies its own formatting to what it recognises. This skill produces that HTML from your article, hands it to the clipboard, and writes a file for the browser fallback.
Policy: preserve everything, degrade nothing by default. Whether the editor keeps a pasted table or a code block is version-dependent and cannot be tested from outside it, so the converter emits the real thing and gives you a flag to flatten it only after a paste shows it was dropped.
Run it
scripts/md2rich.py docs/261108-hermes-guest-hardening.md
Output:
html: exports/261108-hermes-guest-hardening-linkedin.html
clipboard: rich text ready — paste into the article editor
The HTML lands in exports/ at the repo root, named <article>-linkedin.html. docs/ holds articles and their translations only, so converter output — always regenerable — never sits beside the source. Both artefacts are gitignored (*-linkedin.html, imgs/linkedin-tables/) — they are regenerable, and only the Markdown belongs in history.
Then in the article editor: click into the body, Ctrl+V. Images and table screenshots are inside the payload, so nothing is uploaded by hand. If the clipboard owner has died, open the HTML file and copy the rendered page instead — Ctrl+A, Ctrl+C.
What the editor can hold
| Construct | Result | Why |
|---|---|---|
| headings, paragraphs, bold, italic, lists, quotes, links | kept | native |
| fenced code | kept as <pre> |
works; --degrade-code if a paste collapses it |
| tables | bullet list, or a PNG with --tables image |
the editor has no table |
| images | inline by default — one paste carries them (verified 2026-11-19); --no-embed-images for placeholders |
the clipboard cannot carry a file, so the bytes have to be in the HTML |
A fence indented under a list item — - **Check status:** followed by an indented block — is parsed by pymdownx.superfences, so each command becomes its own <pre> instead of one inline <code> paragraph carrying the language tag. Python-Markdown's own fenced_code only recognises fences at column 0, which is why a maintenance section used to paste as bash systemctl --user status … on a single line.
A flattened table keeps every value; it loses the grid. When the grid is the point — a comparison, a matrix — screenshot the table and upload it as an image, because no amount of markup will make LinkedIn draw cells.
Flags
| Flag | Effect |
|---|---|
--tables flatten |
default: each table becomes a bullet list |
--tables image |
screenshot each table to PNG and inline it (a placeholder with --no-embed-images) |
--tables keep |
emit <table> markup, for a target that renders it |
--embed-images |
default: inline local images and table PNGs as base64 data: URIs, so one paste carries them |
--no-embed-images |
leave [Image: alt] placeholders and an upload checklist instead |
--degrade-code |
flatten code blocks into quotes |
--docx |
also write a .docx via soffice, for pasting from Writer |
--out PATH |
write the HTML somewhere other than beside the article |
--image-dir PATH |
where table PNGs go (default imgs/linkedin-tables/) |
--print |
print the fragment to stdout instead of writing a file |
--no-clip |
do not touch the clipboard (for inspection only) |
--base URL |
base for relative links (default: the j3ffyang docs URL) |
The script declares its own dependencies inline, so uv run fetches markdown and beautifulsoup4 per invocation. Nothing is installed, no venv is created, and the system Python is untouched.
What travels
| Markdown | In the fragment |
|---|---|
#–####, paragraphs, **bold**, *italic*, links, - / 1. lists |
identical semantics |
> quote |
<blockquote> |
| tables | bullet list; --keep-tables emits <table> instead |
| fenced code | <pre><code> with newlines and indentation intact |
inline `code` |
<code> |
 |
<img> with a base64 data: source; --no-embed-images gives [Image: alt] + checklist |
--- |
<hr> |
Relative links are rewritten to absolute j3ffyang URLs, so they still resolve after the article leaves the repo.
Images: one paste
The clipboard cannot carry a file, so the bytes go inside the HTML: every local image and every table PNG is base64-inlined as a data: URI. --embed-images is on by default. One paste places all of them, with no file dialog.
Verified 2026-11-19: 261111, three images totalling 1.5 MB — two table PNGs and a 1 MB diagram — pasted from a rendered copy of the -linkedin.html page into the article body. All three arrived, in order.
Two things make that paste work, and both are easy to get wrong:
- Copy from the rendered page, in a browser tab.
Ctrl+A
Установить md-to-linkedin в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл md-to-linkedin?
Convert a Markdown article into rich text for LinkedIn's article editor, which has no Markdown and renders no tables. Headings, bold, italics, lists, quotes, links and fenced code become real HTML; tables become bullet lists, because the editor cannot draw one, or screenshot to PNG when the grid matters. Writes an HTML file beside the article for the browser copy path. Use when the user wants to publish a markdown draft as a LinkedIn article, asks for LinkedIn rich text, or needs the article editor formatting preserved.
Как установить скилл md-to-linkedin?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл md-to-linkedin запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic