md-to-docx
하는 일
이 도구는 Markdown(.md) 형식으로 작성한 글을 전문적인 느낌의 Word(.docx) 문서로 바꿉니다. 글에서 참조한 PNG 이미지도 함께 넣어 줍니다.
사용하는 경우
- ✓초안을 정식 문서로 만들어야 할 때.
- ✓제목을 바탕으로 목차를 자동으로 만들고 싶을 때.
- ✓Word에서 열어야 하는 문서를 공유할 때.
스킬 링크
https://github.com/github/awesome-copilot/blob/main/skills/md-to-docx/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 Markdown 파일을 Word로 변환해 주세요: my_document.md”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
Markdown으로 작성한 텍스트 파일을 제공합니다. 도구는 Node.js라는 프로그램으로 글을 읽고 제목, 목록, 이미지를 이해한 다음 새 Word(.docx) 파일을 만듭니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Markdown to Word (.docx) Skill
Convert Markdown (.md) files into professionally formatted Word (.docx) documents with embedded PNG images. Uses pure JavaScript via the docx and marked npm packages — no Pandoc, LibreOffice, or any native binary required.
How to Convert
# Install dependencies (one-time, from the scripts folder)
cd skills/md-to-docx/scripts && npm install
# Convert (run from workspace root)
node skills/md-to-docx/scripts/md-to-docx.mjs <input.md> [output.docx]
If output.docx is omitted, it defaults to <input-basename>.docx in the current directory.
Skill Folder Contents
| File | Purpose |
|---|---|
SKILL.md |
This instruction file |
scripts/md-to-docx.mjs |
Node.js Markdown-to-Word converter |
scripts/package.json |
Dependencies (docx, marked) |
Prerequisites
| Requirement | Version | Notes |
|---|---|---|
| Node.js | 18+ | Required runtime |
docx |
9+ | Pure JS Word document generator |
marked |
15+ | Markdown parser |
No native binaries. No system-level installs. Works on Windows, macOS, and Linux.
Features
The converter:
- Extracts YAML front-matter — uses
title,date,version,audiencefor the title page - Generates a title page — with project name, subtitle, date, version, and audience
- Generates a table of contents — built from H1-H3 headings
- Embeds PNG images — resolves
references relative to the input.mdfile, reads the PNG, and embeds it inline in the Word document - Styled output — Calibri font, colored headings (
#1F3864), styled tables with alternating row colors, code blocks in Consolas - Handles all Markdown elements — headings, paragraphs, tables, code blocks, lists, images, links, horizontal rules
Image Embedding
The converter automatically embeds PNG images referenced in the Markdown:

The image path is resolved relative to the input Markdown file. The PNG is read, dimensions are extracted from the PNG header, and the image is scaled to fit within 6 inches width while preserving aspect ratio.
If an image file is not found, a placeholder [Image not found: <path>] is inserted.
Front-Matter Format
---
title: Project Name — Project Summary
date: 2025-01-15
version: 1.0
audience: Engineering Team, Architects, Stakeholders
---
The title is split on — or – into main title and subtitle for the title page.
자주 묻는 질문
복잡한 것을 따로 설치해야 하나요?
컴퓨터에 Node.js가 설치되어 있어야 합니다. 나머지는 설치 명령을 실행하면 자동으로 설정됩니다.
글에 이미지가 있으면 어떻게 되나요?
이미지가 PNG 형식이고 Markdown 파일과 같은 위치나 관련 폴더에 있다면 Word 문서에 함께 포함됩니다.
'YAML 프런트매터'는 무엇인가요?
Markdown 파일 맨 앞에 세 개의 하이픈(---) 사이로 적는 짧은 텍스트 블록입니다. 제목, 날짜, 대상 독자처럼 Word 문서에 쓸 정보를 적어 둘 수 있습니다.
상세 정보
작성자의 원본 설명
Convert Markdown files to professionally formatted Word (.docx) documents with embedded PNG images — pure JavaScript, no external tools required
repo: github/awesome-copilot
인기도
- GitHub 스타
- 40k
- 순위
- #7285
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
acquire-codebase-knowledge
40k에이전트가 기존 코드 프로젝트를 이해하고 문서화하도록 돕습니다. 새 구성원을 맞이하거나 아키텍처를 개괄적으로 파악할 때 유용합니다.
acreadiness-assess
40k에이전트가 프로젝트의 AI 준비 상태를 평가하고 보고서를 만들도록 합니다. 프로젝트가 AI 도구를 쓸 준비가 얼마나 되어 있는지 이해하는 데 유용합니다.
acreadiness-generate-instructions
40k에이전트가 평가 결과를 바탕으로 AI 도구를 위한 지침을 만들도록 돕습니다. AI가 코드와 상호작용하는 방식을 개선하고 확인된 공백을 메울 때 유용합니다.
acreadiness-policy
40k에이전트가 AI 프로젝트 평가를 위한 정책을 정의하거나 적용하도록 돕습니다. 프로젝트 평가 방식을 표준화하고 규정 준수를 보장할 때 유용합니다.