Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>markdown-preview-pdfNew to Visual Studio Code? Get it now.
markdown-preview-pdf

markdown-preview-pdf

osyo

|
390 installs
| (0) | Free
Effortlessly preview markdown
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Markdown Preview with PDF Download

This VSCode extension adds a "Preview" button to the editor title when editing Markdown files. Upon clicking the "Preview" button, a webview will open displaying the rendered Markdown content. Additionally, while viewing the rendered Markdown, you can download the previewed content as a PDF file by clicking the "Download" button in the top right corner.

Features

  • Preview Button: A "Preview" button appears in the editor title bar when editing a Markdown file.
  • Markdown Webview: Clicking the "Preview" button opens a webview displaying the rendered Markdown.
  • Download as PDF: When viewing the Markdown preview, you can download the rendered content as a PDF file via the "Download" button in the top-right corner of the preview.

Installation

  1. Open VSCode.
  2. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
  3. Search for Markdown Preview with PDF Download.
  4. Click Install.

Usage

  1. Open a Markdown file in VSCode.
  2. Once the file is open, you'll see a Preview button in the editor's title bar.
  3. Click the Preview button to open a webview displaying the rendered Markdown.
  4. In the webview, you'll see a Download button in the top-right corner.
  5. Click the Download button to save the rendered Markdown as a PDF file to your local machine.

Key Commands

  • Markdown Preview: Open the preview for the current Markdown file (activated by the "Preview" button).
  • Download PDF: Download the current Markdown preview as a PDF (available in the preview view).

Known Issues

  • The Download PDF feature may not be available in all environments.
  • The extension currently supports only basic Markdown features for rendering.

Contributing

Feel free to contribute! If you encounter any issues or have suggestions, please create an issue or submit a pull request.

  1. Fork this repository.
  2. Clone your fork to your local machine.
  3. Create a branch for your changes.
  4. Make your changes and test them.
  5. Submit a pull request.

License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft