GithubHelp home page GithubHelp logo

isabella232 / jupyter-renderers Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jupyterlab/jupyter-renderers

0.0 0.0 0.0 3 MB

Renderers and renderer extensions for JupyterLab

License: BSD 3-Clause "New" or "Revised" License

TypeScript 7.41% CSS 2.75% Jupyter Notebook 89.61% Shell 0.05% JavaScript 0.17%

jupyter-renderers's Introduction

Jupyter Renderers

Binder

This is a monorepo that consists of JupyterLab mimerender extensions for common file and MIME types.

Packages

Name Mime types File extensions Info
fasta-extension application/vnd.fasta.fasta .fasta Version Downloads
geojson-extension application/geo+json .geojson, .geo.json Version Downloads
katex-extension N/A N/A Version Downloads
mathjax3-extension N/A N/A Version Downloads
vega2-extension application/vnd.vega.v2+json, application/vnd.vegalite.v1+json .vg, .vl, .vg.json, .vl.json, .vega, .vegalite Version Downloads
vega3-extension application/vnd.vega.v3+json, application/vnd.vegalite.v2+json .vg, .vl, .vg.json, .vl.json, .vega, .vegalite Version Downloads

Looking for plotly-extension?

@jupyterlab/plotly-extension is being deprecated. Please use the Plotly-supported jupyterlab-plotly. See the plotly.py README for more info.

Install

  • fasta-extension: jupyter labextension install @jupyterlab/fasta-extension
  • geojson-extension: jupyter labextension install @jupyterlab/geojson-extension
  • katex-extension: jupyter labextension install @jupyterlab/katex-extension
  • mathjax3-extension: jupyter labextension install @jupyterlab/mathjax3-extension
  • vega2-extension: jupyter labextension install @jupyterlab/vega2-extension
  • vega3-extension: jupyter labextension install @jupyterlab/vega3-extension

Contributing

If you would like to contribute to the project, please read our contributor documentation.

JupyterLab follows the official Jupyter Code of Conduct.

Requirements

Install

The jlpm command is JupyterLab's pinned version of yarn that is installed with JupyterLab. You may use yarn or npm in lieu of jlpm below.

git clone https://github.com/jupyterlab/jupyter-renderers.git
cd jupyter-renderers
jlpm
jlpm build

Link extensions with JupyterLab

Link geojson-extension:

jupyter labextension link packages/geojson-extension

Link all extensions in packages:

jlpm run link

Rebuilding extensions

After making changes to the source packages, the packages must be rebuilt:

# Rebuild the source
jlpm build

# Rebuild the JupyterLab staging directory
jupyter lab build

You may also watch the jupyter-renderers directory for changes and automatically rebuild:

# In one terminal tab, watch the jupyter-renderers directory
jlpm watch

# In another terminal tab, run jupyterlab with the watch flag
jupyter lab --watch

Publishing packages

jlpm run publish
# If publishing a package for the first time
npm access public @jupyterlab/<extension name>

Creating icons

To create a JupyterLab icon for a new MIME or file type, you can use the Sketch file in this repo or fork the file on Figma and export your icon as an SVG. See the GeoJSON icon for reference.

jupyter-renderers's People

Contributors

adriantre avatar afshin avatar alberthilb avatar blink1073 avatar consideratio avatar dbast avatar dependabot[bot] avatar domoritz avatar flesser avatar gnestor avatar hadim avatar ian-r-rose avatar jasongrout avatar jonmmease avatar mozz100 avatar scopatz avatar swojit avatar sylvaincorlay avatar vidartf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.