<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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.<br>
Thanks again,<br>
Jon<br>
<br>
<div class="moz-cite-prefix">On 07/02/2014 12:50 PM, Martín Gaitán
wrote:<br>
</div>
<blockquote
cite="mid:CAOCZAuyV7B_j9+EOoHafxX4anzH++F5Uq5BfBc-mo0VeqVS7cQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">
<div>Maybe through markdown. it's supported in dokuwiki via
plugins. <a moz-do-not-send="true"
href="https://www.dokuwiki.org/plugin:markdown">https://www.dokuwiki.org/plugin:markdown</a>
and you can use nbconvert to export the notebook <br>
<tt class=""><span class="">nbconvert --to</span> <span
class="">markdown</span></tt><br>
</div>
<br>
<br>
<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jul 2, 2014 at 2:43 PM, Thomas
Kluyver <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<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"
target="_blank">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"
target="_blank">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"
target="_blank">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.<span
class="HOEnZb"><font color="#888888"><br>
<br>
</font></span></div>
<span class="HOEnZb"><font color="#888888">Thomas<br>
</font></span></div>
<div class="HOEnZb">
<div class="h5">
<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"
target="_blank">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>
</div>
</div>
<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>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr"><a moz-do-not-send="true"
href="http://mgaitan.github.io" target="_blank">mgaitan.github.io</a><br>
<a moz-do-not-send="true"
href="http://textosyprextextos.com.ar" target="_blank">textosypretextos.com.ar</a></div>
</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>