Jason Grout 6be51dbe66 Update to Typescript 2.9.2. il y a 6 ans
..
src bfe28b0714 Work on also checking for IDrives in rendermime. il y a 7 ans
README.md 0058fb0fe0 Add Vega 3 extension from jupyter-renderers il y a 7 ans
package.json 6be51dbe66 Update to Typescript 2.9.2. il y a 6 ans
tsconfig.json c5df745128 Rename base tsconfig.json to tsconfigbase.json so that running tsc at the root directory doesn’t accidentally try to do something. il y a 6 ans

README.md

@jupyterlab/rendermime-interfaces

A package for JupyterLab which provides interfaces for implementing mime renderer extensions.

A general JupyterLab plugin involves a certain amount of boilerplate code that can be annoying for authors of relatively extensions. The interfaces in this package are meant to give an easier way for extension authors to provide a plugin that renders mime bundles and documents of a specific mime type.

When using these interfaces, extensions only need to provide some metadata about wht kind of mime bundle they are able to render, and a Widget with a renderModel method that renders the mime bundle.

Examples can be found in @jupyterlab/vega3-extension and @jupyterlab/pdf-extension.