<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Thomas,<br>
Thanks for these suggestions. It has occurred to me that the
simplest thing would probably be to simply attach an HTML file to
the page and link to it. That will likely be my starting point, as
I've spent too much of my time on software stuff in the last several
days. Have to get some other stuff done before I do any more
development, and my next development project is probably to get
pandas to read CERN ROOT files directly...<br>
Regards,<br>
Jon<br>
<br>
<div class="moz-cite-prefix">On 07/02/2014 12:43 PM, Thomas Kluyver
wrote:<br>
</div>
<blockquote
cite="mid:CAOvn4qiz07w7pjMzxmVM-yPaeWd=G+wrLAGVcF92bzb_QjUrFw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true" 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 moz-do-not-send="true"
href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
IPython-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/ipython-dev">http://mail.scipy.org/mailman/listinfo/ipython-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>