@theia/preview
v1.53.2
Published
Theia - Preview Extension
Downloads
27,079
Maintainers
Keywords
Readme
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
- Eclipse Public License 2.0
- 一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception
Trademark
"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia