@jupyterlab/rendermime-interfaces
TypeScript icon, indicating that this package has built-in type declarations

3.10.2 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @jupyterlab/rendermime-interfaces

Weekly Downloads

39,523

Version

3.10.2

License

BSD-3-Clause

Unpacked Size

41.1 kB

Total Files

6

Last publish

Collaborators

  • jupyterlab-release-bot
  • jweill-aws
  • krassowski
  • darian
  • blink1073
  • jasongrout
  • fcollonval
  • jtpio
  • echarles
  • mbektas