我正在尝试启用 Trust_Notebook 功能,因此我可以在 Markdown 单元格中使用变量。但是,Trusted Notebook 选项始终显示为灰色。
我已经做了:
!sudo pip install jupyter_nbextensions_configurator
和
!jupyter nbextensions_configurator enable --user
启用可信笔记本我还错过了什么?谢谢!
请您参考如下方法:
您的笔记本已被信任。这是 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.
至于在 markdown 中评估 Python 变量,请尝试使用 Python Markdown Extension .这是一个simple way to install extensions用于 Jupyter。
