0.23.x

0.23.0

Released:

26.02.2026

✨ New Features

  • Experimental image preview rendering

    The RST preview panel can now render image and figure directives as actual images, rather than displaying them as generic directive markup. Both local images (resolved relative to the source or document directory) and remote URLs are supported. Local image paths are securely served via VS Code’s webview URI mechanism.

    Images in RST preview

    To enable this feature, set ubcode.preview.experimentalRendering to true in your VS Code settings, or use the new toolbar toggle button in the preview panel. The toggle state persists across sessions.

    This complements the existing hover previews and missing-image diagnostics (image.not_found) introduced in earlier releases, providing a more complete image authoring experience within the editor.

    This is the first step toward a richer preview experience that we eventually hope to include items such as admonitions, syntax-highlighted code blocks, math equations, and diagram rendering (PlantUML, Mermaid, Graphviz).