Issue
When I use a jupyter notebook,
I would like new cells to be of type "markdown".
By default, the type of new cells is "code". Which config file should I modify and which variable should I change?
Solution
Go to the site-packages
directory of your python environment and modify site-packages/notebook/static/notebook/js/main.min.js
Find something like
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'
};
change default_cell_type: 'code'
into default_cell_type: 'markdown'
Answered By - sunwback
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.