pptx
Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills203k3,265 new stars in the last 7 days
Convert a Markdown file to DOCX (Word). Use when the user asks to convert .md to .docx, generate a Word document from Markdown, or export Markdown notes to Word.
Converts a Markdown file to a Word document (.docx) preserving headings, tables, lists, code blocks, links and inline images.
/md-to-docx <input.md> [output.docx] [--author "Name"] [--title "Title"] [--no-shading] [--justify]
| Parameter | Required | Description |
|---|---|---|
input.md | yes | Path to the source Markdown file |
output.docx | no | Path to the output file (default: alongside source, .md → .docx) |
--author | no | Document author. Written to core properties (dc:creator + cp:lastModifiedBy). Also accepts the --author=Name form |
--title | no | Document title in core properties and in the header. Default: input file name without extension |
--no-shading | no | Disables the grey background for inline code and fenced ``` code blocks. Alias: --shading=off. On by default. Does not affect the table header (it keeps its structural fill) |
--justify | no | Justifies body paragraphs and list items, including block quotes. Alias: --align=justify (also --align justify). Off by default; headings, code blocks, table cells and image captions keep their alignment |
If the path is not provided — ask the user. The --author, --title, --no-shading, --justify flags are optional — pass them only when the user explicitly asks for an author, a custom title, removal of code shading, or justified text.
docx — pinned by this skill's package-lock.json; install locally with npm ci --prefix "<skill-dir>"<skill-dir> below is the directory of this skill: content/skills/md-to-docx/ in the 1c-rules source repo, or <tool>/skills/md-to-docx/ after installation (e.g. .cursor/skills/md-to-docx/, .claude/skills/md-to-docx/).
PowerShell (Windows, default for this project):
npm ci --prefix "<skill-dir>"
node "<skill-dir>/scripts/md_to_docx.js" "<input.md>" "[output.docx]"
# With author and title
node "<skill-dir>/scripts/md_to_docx.js" "<input.md>" "[output.docx]" --author "I. Ivanov" --title "Analytical note"
# Without the grey code background
node "<skill-dir>/scripts/md_to_docx.js" "<input.md>" "[output.docx]" --no-shading
# With justified body text
node "<skill-dir>/scripts/md_to_docx.js" "<input.md>" "[output.docx]" --justify
Bash (macOS / Linux):
npm ci --prefix "<skill-dir>"
node "<skill-dir>/scripts/md_to_docx.js" "<input.md>" "[output.docx]"
keepNext)4. starts at 4); subsequent markers such as repeated 1. continue that list. Blank lines between items keep a list together; a separate paragraph or another block ends it>): marker stripped, wrapped lines joined, nested lists kept; left bar + indentcode, links; code, links and italic nested inside bold (or code and links inside italic) keep both formats<a id="name"></a> before a heading becomes a bookmark; [text](#name) links resolve to it (external http(s) / mailto: links stay external)) — resolved relative to the source MD folder; scaled down proportionally to fit the section's printable width and height, with room for paragraph spacing and one caption line (longer captions may continue on the next page)---)--author / --title)If an image is not found — a red text placeholder is inserted.
Created: output.docx (45231 bytes, 42 blocks)
Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills203k3,265 new stars in the last 7 days
Create and edit Word docs with TOC, page numbers, headers and more.
ANanthropics/skills203k3,265 new stars in the last 7 days
Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.
ANanthropics/skills203k3,265 new stars in the last 7 days
Co-write specs, proposals and decision docs through a structured, iterative workflow.
ANanthropics/skills203k3,265 new stars in the last 7 days
Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.
ANanthropics/skills203k3,265 new stars in the last 7 days
Create posters and visual art as PNG or PDF, guided by a design philosophy.
ANanthropics/skills203k3,265 new stars in the last 7 days