Thebe: using a local server

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

    jupyter notebook --NotebookApp.token=thebe-test-secret --NotebookApp.allow_origin='http://127.0.0.1:8080'
  
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}')