DocxToMd
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
.docx in Explorer and convert directly from the context menu
- Select a
.docx file and generate a .md file
- 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
docxtomdext.overwriteExisting: Overwrite existing .md file if present.
docxtomdext.openAfterConvert: Open generated Markdown file after conversion.
Scripts
npm run compile: Compile TypeScript
npm run watch: Watch and compile on changes
npm run lint: Run ESLint
npm test: Run extension tests
Run locally
- Install dependencies:
npm install
- Press
F5 in VS Code to launch Extension Development Host
- Convert using either:
- Explorer right-click on a
.docx file -> DOCX to Markdown: Convert File
- Command Palette ->
DOCX to Markdown: Convert File
| |