[IPython-User] Start notebook with custom markdown code snippets as default?
Tue Nov 27 13:44:33 CST 2012
On Tue, Nov 27, 2012 at 2:40 PM, Matthias BUSSONNIER
> Le 27 nov. 2012 à 20:13, Norfeldt a écrit :
>> like the /quick & dirty/ *autosave function* and *hide input*
>> But is is possible to modify the default empty (start) notebook to have some
>> code snippets included ___________?
>> (Imagine something like having it create a notebook with at markdown at the
> The question is what do you want to do with this template ?
> Using custom.js you could inject pretty much anything in notebook,
> So you could try to detect wether there is only one empty cell and change its content if it is the case.
> Which has the same effect that a template.
> If your goal is to inject Js in the notebook…. the custom.js is there to do that,
> And you could add button to the toolbar or add menu or...
> And this without 'polluting' the ipynb file with preferences that might be only yours.
Is there a way to distribute a custom.js and have it update? i.e.,
the full path as an argument to something like NotebookApp?
> IPython-User mailing list
More information about the IPython-User