<div dir="ltr"><div><div><div><div>Hi Jon,<br><br></div>One way would be to write a dokuwiki exporter for nbconvert. You could base it on the rst exporter:<br><a href="https://github.com/ipython/ipython/blob/master/IPython/nbconvert/exporters/rst.py">https://github.com/ipython/ipython/blob/master/IPython/nbconvert/exporters/rst.py</a><br>
<a href="https://github.com/ipython/ipython/blob/master/IPython/nbconvert/templates/rst.tpl">https://github.com/ipython/ipython/blob/master/IPython/nbconvert/templates/rst.tpl</a><br><br></div>However, pandoc doesn't appear to be able to convert markdown to dokuwiki, so you'd need to find another tool to do that.<br>
<br>Alternatively, you could use a dokuwiki plugin to render pages from a format that notebooks can be exported to, e.g. markdown:<br><a href="https://www.dokuwiki.org/plugin:markdownextra">https://www.dokuwiki.org/plugin:markdownextra</a><br>
<br></div>Or, going one step further, you could write a dokuwiki plugin to handle notebook files directly. But yuck, PHP.<br><br></div>Thomas<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 2 July 2014 09:43, Jon Wilson <span dir="ltr"><<a href="mailto:jsw@fnal.gov" target="_blank">jsw@fnal.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
Having gotten a nice anaconda setup working including pandoc, I've<br>
naturally been asked to document it on our wiki, both use and the<br>
procedure I went through to set it up. In order to showcase how it<br>
works and how it can be used to load and analyze CDMS data, I was<br>
thinking of including a notebook that I wrote that does exactly that.<br>
<br>
I know that people regularly include notebooks in blogs, (e.g.<br>
<a href="http://jakevdp.github.io" target="_blank">jakevdp.github.io</a> (nice blog btw!)). Does anyone have experience<br>
including a notebook in a wiki? The wiki in question is dokuwiki, but I<br>
expect that a solution for one wiki syntax wouldn't be too difficult to<br>
translate to another wiki syntax.<br>
Regards,<br>
Jon<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote></div><br></div>