0.3.0-alpha • Published 4 years ago

jupyterlab-clipboard v0.3.0-alpha

Weekly downloads
6
License
BSD-3-Clause
Repository
github
Last release
4 years ago

jupyterlab Clipboard

Paste images from clipboard into your notebook. find it on npm.

What it does on pasting clipboard images: 1. prompts user for path to save image as. 2. saves image on confirmation. 3. links image as markdown in the cell.

Browser support

The most browser restrictive feature used in this extension is the clipboard. Support table can be found here

  • Chrome: 58
  • Edge: (yes)
  • Firefox: 22
  • IE: 11
  • Opera: 45
  • Safari: (yes)

Prerequisites

  • JupyterLab

Installation

jupyter labextension install jupyterlab-clipboard

Development

For a development install (requires npm version 4 or later), do the following in the repository directory:

npm install
npm run build
jupyter labextension link .

To rebuild the package and the JupyterLab app:

npm run build
jupyter lab build

Todo

If you want to jump in and help, here is my todo list:

  • detect active cell type and insert text based on that.
  • Add a small preview image in the the save as dialog.

Please open an issue for taking on the development of an action item to avoid duplicating efforts.