Convert PDF files to Markdown inside VS Code.
- Command:
PDF to Markdown: Convert File - Right-click
.pdfin Explorer and convert directly from the context menu - Select a
.pdffile and generate a.mdfile - Optional auto-open of the generated Markdown file
- Configurable output folder and overwrite behavior
pdftomdext.outputFolder: Target folder for generated Markdown files.- Empty: save next to source
.pdf - Relative: resolved from the first workspace folder
- Absolute: used directly
- Empty: save next to source
pdftomdext.overwriteExisting: Overwrite existing.mdfile if present.pdftomdext.openAfterConvert: Open generated Markdown file after conversion.
npm run compile: Compile TypeScriptnpm run watch: Watch and compile on changesnpm run lint: Run ESLintnpm test: Run extension tests
- Install dependencies:
npm install - Press
F5in VS Code to launch Extension Development Host - Convert using either:
- Explorer right-click on a
.pdffile ->PDF to Markdown: Convert File - Command Palette ->
PDF to Markdown: Convert File
- Explorer right-click on a
- Install VSCE globally:
npm i -g @vscode/vsce - Login once:
vsce login michaelsam94 - Publish:
vsce publish
