Steven Silvester 6d4c68f1e9 Publish 7 سال پیش
..
src 8289c280e7 [WIP] Menu updates (#3344) 7 سال پیش
README.md 4bec5eacf8 Add more README text. 7 سال پیش
package.json 6d4c68f1e9 Publish 7 سال پیش
tsconfig.json fa994a3845 wip rendermime-interfaces package 7 سال پیش

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