Convert DOCX files to Markdown inside VS Code.
Features
- Command:
DOCX to Markdown: Convert File - Recovery command:
DOCX to Markdown: Reload VS Code Window - Right-click
.docxin Explorer and convert directly from the context menu - Select a
.docxfile and generate a.mdfile - Optional auto-open of the generated Markdown file
- Configurable output folder and overwrite behavior
Extension Settings
docxtomdext.outputFolder: Target folder for generated Markdown files.- Empty: save next to source
.docx - Relative: resolved from the first workspace folder
- Absolute: used directly
- Empty: save next to source
docxtomdext.overwriteExisting: Overwrite existing.mdfile if present.docxtomdext.openAfterConvert: Open generated Markdown file after conversion.
Scripts
npm run compile: Compile TypeScriptnpm run watch: Watch and compile on changesnpm run lint: Run ESLintnpm test: Run extension tests
Run locally
- Install dependencies:
npm install - Press
F5in VS Code to launch Extension Development Host - Convert using either:
- Explorer right-click on a
.docxfile ->DOCX to Markdown: Convert File - Command Palette ->
DOCX to Markdown: Convert File
- Explorer right-click on a