Steven Silvester 8438b2412d New version 3 роки тому
..
src 4d0d373f3e Add typedoc module names in ensure-package script. 4 роки тому
README.md d7a9358062 Fix a few more typos 4 роки тому
package.json 8438b2412d New version 3 роки тому
tsconfig.json 15ac2db497 Make strings localizable in JLab code. 4 роки тому
typedoc.json 9b42db0c8a Update typedoc config for 0.20 beta 27 4 роки тому

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.