[IPython-dev] Including notebooks in a wiki
Jon Wilson
jsw at fnal.gov
Wed Jul 2 14:05:36 EDT 2014
Thanks, Martín, I will give that a try. I don't know whether the plugin
is already installed, so it might be a fight to get the admins to
install it, we'll see.
Thanks again,
Jon
On 07/02/2014 12:50 PM, Martín Gaitán wrote:
> Maybe through markdown. it's supported in dokuwiki via plugins.
> https://www.dokuwiki.org/plugin:markdown and you can use nbconvert to
> export the notebook
> nbconvert --to markdown
>
>
>
>
>
> On Wed, Jul 2, 2014 at 2:43 PM, Thomas Kluyver <takowl at gmail.com
> <mailto:takowl at gmail.com>> wrote:
>
> Hi Jon,
>
> One way would be to write a dokuwiki exporter for nbconvert. You
> could base it on the rst exporter:
> https://github.com/ipython/ipython/blob/master/IPython/nbconvert/exporters/rst.py
> https://github.com/ipython/ipython/blob/master/IPython/nbconvert/templates/rst.tpl
>
> However, pandoc doesn't appear to be able to convert markdown to
> dokuwiki, so you'd need to find another tool to do that.
>
> Alternatively, you could use a dokuwiki plugin to render pages
> from a format that notebooks can be exported to, e.g. markdown:
> https://www.dokuwiki.org/plugin:markdownextra
>
> Or, going one step further, you could write a dokuwiki plugin to
> handle notebook files directly. But yuck, PHP.
>
> Thomas
>
>
> On 2 July 2014 09:43, Jon Wilson <jsw at fnal.gov
> <mailto:jsw at fnal.gov>> wrote:
>
> Hi all,
> Having gotten a nice anaconda setup working including pandoc, I've
> naturally been asked to document it on our wiki, both use and the
> procedure I went through to set it up. In order to showcase
> how it
> works and how it can be used to load and analyze CDMS data, I was
> thinking of including a notebook that I wrote that does
> exactly that.
>
> I know that people regularly include notebooks in blogs, (e.g.
> jakevdp.github.io <http://jakevdp.github.io> (nice blog
> btw!)). Does anyone have experience
> including a notebook in a wiki? The wiki in question is
> dokuwiki, but I
> expect that a solution for one wiki syntax wouldn't be too
> difficult to
> translate to another wiki syntax.
> Regards,
> Jon
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
>
> --
> mgaitan.github.io <http://mgaitan.github.io>
> textosypretextos.com.ar <http://textosyprextextos.com.ar>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140702/484f2978/attachment.html>
More information about the IPython-dev
mailing list