Skip to content

0.2.0

Choose a tag to compare

@savannahostrowski savannahostrowski released this 27 Jan 05:54
· 7 commits to main since this release

New in this release!

Web Component API

You can now use a <py-repl> custom element for cleaner HTML integration with theme, packages, repl-title, src, no-header, no-buttons, readonly attributes.

<div class="pyrepl"> is still supported for backwards compatibility.

Simplified Theming

You can now create custom themes with just background and foreground colors. Terminal ANSI colors and syntax highlighting auto-derived from background luminance. Theming also now supports pygmentsStyle for full control over syntax highlighting

Theme names matching Pygments styles (e.g., monokai, dracula) use that style automatically. Custom themes fall back to catppuccin-mocha (dark) or catppuccin-latte (light) based on background