PdfToMd
Convert PDF files to Markdown inside VS Code.

Features
- Command:
PDF to Markdown: Convert File
- Right-click
.pdf in Explorer and convert directly from the context menu
- Select a
.pdf file and generate a .md file
- Optional auto-open of the generated Markdown file
- Configurable output folder and overwrite behavior
Extension Settings
pdftomdext.outputFolder: Target folder for generated Markdown files.
- Empty: save next to source
.pdf
- Relative: resolved from the first workspace folder
- Absolute: used directly
pdftomdext.overwriteExisting: Overwrite existing .md file if present.
pdftomdext.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
.pdf file -> PDF to Markdown: Convert File
- Command Palette ->
PDF to Markdown: Convert File
Publish
- Install VSCE globally:
npm i -g @vscode/vsce
- Login once:
vsce login michaelsam94
- Publish:
vsce publish
| |