Ohh thank you!! On Monday, December 3, 2018 at 1:48:31 PM UTC-6, Tim Paine wrote: > > I do that here: > > https://github.com/timkpaine/jupyterlab_templates/blob/master/src/index.ts#L126 > > On Dec 3, 2018, at 14:46, Chen Wang <[email protected] <javascript:>> > wrote: > > So far I found this ContentsManager from @jupyterlab/services. But it > seems to only be able to create an empty file (newUntitled method) as > well as changing its filename (rename method). > > I'm writing a jupyterlab extension. I want something that I can use not > only create a new empty file but also write content to that file in that > extension. > > Any thoughts? Many thanks!! > > Best, > Chen > > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected] <javascript:> > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/55e33a52-cece-45cc-b646-393a86c8099d%40googlegroups.com > > <https://groups.google.com/d/msgid/jupyter/55e33a52-cece-45cc-b646-393a86c8099d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > >
-- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/97fd9d4d-9435-423e-89f1-3790fe3a7307%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
