Thebe Lab: using a local server

This page illustrates how to setup Thebe Lab, using a local Jupyter server as kernel provider. This assumes that you have started the local server as:

    jupyter notebook --NotebookApp.token=test-secret --NotebookApp.allow_origin='*'
  
and that it's running on port 8888

See also the source file.
print("Hello!")
1+1
from IPython.display import Math
Math('\sqrt{1-x^2}')