Added optional settings to hide/show header and menubar in zenmode.

This commit is contained in:
Colton R Bukowsky
2017-09-03 17:55:21 -07:00
parent fff6550e1f
commit a962047394
2 changed files with 10 additions and 2 deletions
@@ -156,7 +156,7 @@ define([
'zenmode-btn-grp'
);
$("#maintoolbar-container").prepend($('#zenmode-btn-grp'));
return IPython.notebook.config.loaded.then(initialize);
config.load();
};
var extension = {
@@ -3,7 +3,7 @@ Name: zenmode
Link: README.md
Description: A little extension to give Zenmode functionality to the IPython notebook
Main: main.js
Compatibility: 4.x
Compatibility: 4.x, 5.x
Parameters:
- name: zenmode_set_zenmode_on_load
description: Set zenmode on when a notebook opens
@@ -13,6 +13,14 @@ Parameters:
description: Use builtin backgrounds in addition to any specified by URL
input_type: checkbox
default: true
- name: zenmode_hide_header
description: Hide the header in zenmode
input_type: checkbox
default: true
- name: zenmode_hide_menubar
description: Hide the menubar in zenmode
input_type: checkbox
default: true
- name: zenmode_backgrounds
description: "Urls to use as backgrounds. Any beginning with # are ignored."
input_type: list