Jason Grout 054e748f0a Upgrade to Typescript 4 %!s(int64=4) %!d(string=hai) anos
..
src 15ac2db497 Make strings localizable in JLab code. %!s(int64=4) %!d(string=hai) anos
README.md d7a9358062 Fix a few more typos %!s(int64=4) %!d(string=hai) anos
package.json 054e748f0a Upgrade to Typescript 4 %!s(int64=4) %!d(string=hai) anos
tsconfig.json 15ac2db497 Make strings localizable in JLab code. %!s(int64=4) %!d(string=hai) anos
typedoc.json afe04d6898 Migrate typedoc config to more conventional typedoc.json files %!s(int64=5) %!d(string=hai) anos

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 what 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/vega5-extension and @jupyterlab/pdf-extension.