@theia/preview

1.48.3 • 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

2,656

Version

1.48.3

License

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

Unpacked Size

198 kB

Total Files

67

Last publish

Collaborators

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