@theia/preview

1.46.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @theia/preview

Weekly Downloads

6,598

Version

1.46.1

License

EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0

Unpacked Size

203 kB

Total Files

67

Last publish

Collaborators

  • jhelming
  • jfaltermeier
  • msujew
  • eclipse-theia-bot
  • tsmaeder
  • marc.dumais
  • paul-marechal
  • bhufmann
  • vince-fugnitto
  • eclipsetheia