当我使用jupyter notebook时,
我希望新单元格的类型为“markdown”。
默认情况下,新单元格的类型为“代码”。我应该修改哪个配置文件以及应该更改哪个变量?
最佳答案
转到您的python环境的site-packages
目录并修改site-packages/notebook/static/notebook/js/main.min.js
找到类似的东西
Notebook.options_default = {
// can be any cell type, or the special values of
// 'above', 'below', or 'selected' to get the value from another cell.
default_cell_type: 'code'
};
将
default_cell_type: 'code'
更改为default_cell_type: 'markdown'
关于jupyter-notebook - Jupyter Notebook新电池类型默认,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40382454/