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. ```typescript @injectable class MyPreviewHandler implements PreviewHandler { ... } // in container bind(MyPreviewHandler).toSelf().inSingletonScope(); bind(PreviewHandler).toService(MyPreviewHandler); ``` ## Additional Information - [API documentation for `@theia/preview`](https://eclipse-theia.github.io/theia/docs/next/modules/_theia_preview.html) - [Theia - GitHub](https://github.com/eclipse-theia/theia) - [Theia - Website](https://theia-ide.org/) ## License - [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/) - [δΈ€ (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp) ## Trademark "Theia" is a trademark of the Eclipse Foundation