Edit and preview SVG files side by side directly in VS Code. This extension provides a split view with a live preview and a CodeMirror editor, including zoom, pan, and theme support.
- Split View: Edit SVG code and see the live preview simultaneously.
- Resizable Panels: Drag the divider to adjust the editor or preview size.
- Zoom and Pan: Zoom in/out and pan the SVG preview.
- Theme Support: Editor and toolbar buttons match your current VS Code theme.
- Toggle Panels: Show or hide the code editor or SVG preview as needed.
- Live Updates: Changes in the code editor immediately reflect in the preview.
- Open any
.svgfile in VS Code. - The SVG Split Editor will open automatically.
- Use the toolbar buttons to zoom, reset, or toggle panels.
- Drag the divider between editor and preview to resize.
- + / −: Zoom in and out.
- Reset: Reset zoom and pan.
- Toggle Code: Show or hide the code editor.
- Toggle SVG: Show or hide the SVG preview.
- Visual Studio Code version 1.90.0 or higher.
This extension does not have additional configurable settings.
This extension is licensed under the GNU 2.0 License. See the LICENSE file for details.