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.
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);
- Eclipse Public License 2.0
- 一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception
"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia