Edamame
Edamame

Reputation: 25376

Python - Jupyter Notebook: "Trusted Notebook" option grey out

I am trying to enable the Trust_Notebook feature, so I could use variables in a markdown cell. However, the Trusted Notebook option is always grey out.

enter image description here

I have already did:

!sudo pip install jupyter_nbextensions_configurator

and

!jupyter nbextensions_configurator enable --user

What else did I miss for enable trusted notebook? Thanks!

Upvotes: 3

Views: 2813

Answers (2)

Rider44
Rider44

Reputation: 141

The Notebook dashboard When you first start the notebook server, your browser will open to the notebook dashboard. The dashboard serves as a home page for the notebook. Its main purpose is to display the notebooks and files in the current directory. For example, here is a screenshot of the dashboard page for the examples directory in the IPython repository:

The above is from the following url https://nbviewer.jupyter.org/github/ipython/ipython/blob/3.x/examples/Notebook/Notebook%20Basics.ipynb

Upvotes: 0

pylang
pylang

Reputation: 44555

Your notebook is already trusted. Here is the security protocol for notebooks.

When a notebook is opened by a user, the server computes a signature with the user’s key, and compares it with the signature stored in the notebook’s metadata. If the signature matches, HTML and Javascript output in the notebook will be trusted at load, otherwise it will be untrusted.

As for evaluating Python variables in markdown, try using the Python Markdown Extension. Here is a simple way to install extensions for Jupyter.

Upvotes: 2

Related Questions