Live Preview HTML ⚡
A premium, fast, and feature-packed universal previewer for VS Code. Live Preview HTML allows you to open and preview HTML, Markdown, XML, CSV, PDFs, images, and videos concurrently. It supports real-time synchronization, a navigation address bar, image zooming, and custom video timeline overlays—all side-by-side inside your workspace.
Key Features
- 👁️ Simultaneous Multiple Previews: Open and arrange multiple live previews side-by-side for different files.
- ⚡ Real-Time Synchronisation: Keystrokes in your HTML or saved changes in your CSS files reflect instantly in the preview with scroll-preserving hot-reload.
- 📁 Universal File Previews: Renders Markdown
.md text, formatted XML documents with tag highlights, CSV/SSV comma separated tables, zoomable images, video playback controls, and native PDFs.
- 🌐 Unified Navigation Header: Shows the full path to the active preview file, includes a Reload button, and supports opening any local path or remote localhost URL directly by typing it in.
- 🛠️ Toggleable Dev Overlay Inspector: Turn the Dev Overlay on/off with a single click. Inspect elements on hover and click them to open a popup editor to edit HTML content, classes, or styles in real time.
- ⚓ VS Code Status Bar Launcher: A dynamic launcher button (
⚡ Live Preview HTML) appears automatically at the bottom of VS Code whenever you open supported files.
Installation & Setup
Instant Dev Testing (F5)
- Open this folder (
c:\Users\Rupeshh\Downloads\proj vs) in VS Code.
- Press
F5 (or go to Run > Start Debugging).
- In the new host window, open
website/index.html.
- Click the
⚡ Live Preview HTML button in the bottom status bar (or right-click and select Live Preview HTML).
Permanent Global Installation
- Open your terminal in the extension folder:
npx @vscode/vsce package
- Install the created package in VS Code:
code --install-extension htmlpreview-vscode-1.0.4.vsix
Repository & Info
- Version: 1.0.4
- Developer: Rupesh9369
- GitHub: https://github.com/Rupesh9369/htmlpreview-vscode
- License: MIT
- Keywords: vscode, html, css, preview, live preview, markdown, csv, xml, pdf, image viewer, video player, realtime, inspector, code.
| |