docker pull wrist/jupyterlab-custom:latestSettings -> Text Editor Key MapSublime Text, vim, emacs shift+tab# sumにカーソルをあてて`shift+tab`
y = sum([1, 2, 3])
y
6
import scipy as sp
import scipy.signal as sg
shift+command+cshift+ctrl+]command+Bslide type変更のショートカットがないのが辛い
Show Markdown Previewを選択サイドバー -> スパナアイコン -> Slide Typeを設定File -> Export Notebook As... -> Reveal.jsでスライド生成スパナアイコン -> Advanced Tools -> Notebook Metadataで付与可能jupyter labextension install ...pip install jupyterlab_gitjupyter serverextension enable --py jupyterlab_gitawesome jupyterなどを調べるEnable Extension Managerを実行@jupyter/git¶nbdimeによる差分表示https://github.com/jupyterlab/jupyterlab-git
pip install jupyterlab_git
jupyter serverextension enable --py jupyterlab_git
jupyter labextension install @jupyterlab/git
jupyter lab build
jupyterlab-vim¶shift+ctrl+escctrl+enter(エクステンションに関係なく使用可能)@lckr/jupyterlab_variableinspector¶_に辞書を格納してるっぽいhttps://github.com/lckr/jupyterlab-variableInspector
jupyter labextension install @lckr/jupyterlab_variableinspector
import numpy as np
x = 1
a = np.random.randn(10, 20)
@ryantam626/jupyterlab_code_formatter¶https://github.com/ryantam626/jupyterlab_code_formatter
jupyter labextension install @lckr/jupyterlab_variableinspector
FROM jupyter/scipy-notebook
MAINTAINER Hiromasa OHASHI <stoicheia1986@gmail.com>
RUN pip install jupyterlab_git jupyterlab_code_formatter autopep8 black
RUN jupyter serverextension enable --py jupyterlab_git
RUN jupyter serverextension enable --py jupyterlab_code_formatter
RUN jupyter labextension install \
@jupyterlab/toc @jupyterlab/git \
@lckr/jupyterlab_variableinspector \
@ryantam626/jupyterlab_code_formatter
RUN jupyter lab build