Markdown → Word

Convert Markdown text or a .md file to a .docx Word document, with an optional Obsidian-style colour theme.

ConvertMarkdownToWord

What it does

Convert Markdown text or a .md file to a .docx Word document, with an optional Obsidian-style colour theme.

Parameters

ParameterTypeRequiredDefaultDescription
Markdown textmultiline
OptionalMarkdown source. Leave blank to read from a file instead.
Example: # Title Some **bold** text. - item a - item b
Supports variables
Markdown file / folder / wildcard (optional)file
OptionalA .md file, a folder (converts every .md inside), or a glob like C:/docs/*.md (use ** for recursive). Overrides the text.
Example: C:/docs/*.md
Supports variables
Output folder or .docx path (optional)file
OptionalFolder to write the .docx into, or a full path. The .docx extension is added automatically. Blank = same folder as the source .md (or current folder for pasted text).
Example: C:/docs/out
Supports variables
Themedropdown
Obsidian Dark · Obsidian Light · Plain
RequiredObsidian DarkObsidian-style dark/light reading theme, or a plain black-on-white document.
Mermaid diagramsdropdown
Auto · Local (mermaid-cli) · Online (mermaid.ink) · Keep as code
OptionalAutoHow to render ```mermaid code blocks. Auto = local mermaid-cli (mmdc) if installed, else the mermaid.ink web service. 'Online' sends the diagram source to mermaid.ink. 'Keep as code' leaves it as a plain code block.
Fontdropdown
Noto Sans JP · Calibri · Yu Gothic · Meiryo · MS Gothic · Arial · Segoe UI · Times New Roman
OptionalNoto Sans JPBody/heading font. 'Noto Sans JP' (default) covers Latin + Japanese; Latin-only fonts keep a Japanese fallback.
Body font size (pt)number
Optional9Base size; headings scale relative to it.
Line spacingnumber
Optional1.08e.g. 1.0, 1.15, 1.5
Page sizedropdown
Letter · A4 · Legal
OptionalLetter
Orientationdropdown
Portrait · Landscape
OptionalPortrait
Margin top (inch)number
Optional0.7
Margin bottom (inch)number
Optional0.7
Margin left (inch)number
Optional0.4
Margin right (inch)number
Optional0.4
Page numbers in footerdropdown
No · Yes
OptionalNo
Store output path invariable
Optional
Example: docPath

More Convert commands

Ready to automate your busywork?

Start your free 10-day trial today. No credit card, no commitment.