[IPython-User] Start notebook with custom markdown code snippets as default?
Tue Nov 27 14:01:04 CST 2012
update mecamisme planed, and I don't think there will be any dor custom js.
Let's see vustom.js like your .bashrc or .gitconfig
Actually any file in .profile_xxx/static/ will overwrite ther counterpart
if they exist, this is how custom js works with an empty custom js in
iputhon source dir.
github. I also doubt we'll implement update as we are not dooing it for
other ipython extensions.
Le 27 nov. 2012 20:44, "Matthew Turk" <email@example.com> a écrit :
> Hi Matthias,
> On Tue, Nov 27, 2012 at 2:40 PM, Matthias BUSSONNIER
> <firstname.lastname@example.org> wrote:
> > Le 27 nov. 2012 à 20:13, Norfeldt a écrit :
> >> A lot of cool features can be added to the notebook by html and
> >> like the /quick & dirty/ *autosave function* and *hide input*
> >> But is is possible to modify the default empty (start) notebook to have
> >> code snippets included ___________?
> >> (Imagine something like having it create a notebook with at markdown at
> > 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?
> > --
> > Matthias
> > _______________________________________________
> > IPython-User mailing list
> > IPython-User@scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-user
> IPython-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User