GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - michaelsam94/mdtopdfext

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
scripts
scripts
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.vscodeignore
.vscodeignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
eslint.config.cjs
eslint.config.cjs
 
 
icon.png
icon.png
 
 
mdtopdfext-banner.png
mdtopdfext-banner.png
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

MdToPdf

Convert Markdown files to PDF inside VS Code.

MdToPdf banner

Features

  • Command: Markdown to PDF: Convert File
  • Right-click .md in Explorer and convert directly from the context menu
  • Select a .md file and generate a .pdf file
  • Optional auto-open of the generated PDF file
  • Configurable output folder and overwrite behavior

Extension Settings

  • mdtopdfext.outputFolder: Target folder for generated PDF files.
    • Empty: save next to source .md
    • Relative: resolved from the first workspace folder
    • Absolute: used directly
  • mdtopdfext.overwriteExisting: Overwrite existing .pdf file if present.
  • mdtopdfext.openAfterConvert: Open generated PDF file after conversion.
  • mdtopdfext.chromeExecutablePath: Optional path to Chrome/Chromium executable used by the converter.

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

  1. Install dependencies: npm install
  2. Press F5 in VS Code to launch Extension Development Host
  3. Convert using either:
    • Explorer right-click on a .md file -> Markdown to PDF: Convert File
    • Command Palette -> Markdown to PDF: Convert File

Publish

  1. Install VSCE globally: npm i -g @vscode/vsce
  2. Login once: vsce login michaelsam94
  3. Publish: vsce publish

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.