Files
theia-code-os/packages/preview/README.md
mawkone 8bb5110148
Some checks failed
Playwright Tests / Playwright Tests (ubuntu-22.04, Node.js 22.x) (push) Has been cancelled
3PP License Check / 3PP License Check (11, 22.x, ubuntu-22.04) (push) Has been cancelled
Publish packages to NPM / Perform Publishing (push) Has been cancelled
deploy: current vibn theia state
Made-with: Cursor
2026-02-27 12:01:08 -08:00

1.3 KiB


theia-ext-logo

ECLIPSE THEIA - PREVIEW EXTENSION


Description

The @theia/preview extension adds the ability to display rendered previews of supported resources.
The extension comes with built-in support for rendering markdown files.

Contribute Custom Previews

To provide custom previews implement and bind the PreviewHandler interface, e.g.

@injectable
class MyPreviewHandler implements PreviewHandler {
  ...
}
// in container
bind(MyPreviewHandler).toSelf().inSingletonScope();
bind(PreviewHandler).toService(MyPreviewHandler);

Additional Information

License

Trademark

"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia