<div dir="ltr"><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><span style="font-family:'Open Sans'"><br></span></font></span></div><div><font color="#000000" face="Open Sans">I've been making use of a little piece of javascript in a markdown cell that hides all code cells in the notebook;</font></div>

<div><br></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)"><span style="color:rgb(69,77,75);font-size:13px"> <script type="text/javascript"></span><br style="color:rgb(69,77,75);font-size:13px">

<span style="color:rgb(69,77,75);font-size:13px">     show=true;</span><br style="color:rgb(69,77,75);font-size:13px"><span style="color:rgb(69,77,75);font-size:13px">     function toggle(){</span><br style="color:rgb(69,77,75);font-size:13px">

<span style="color:rgb(69,77,75);font-size:13px">         if (show){</span><br style="color:rgb(69,77,75);font-size:13px"><span style="color:rgb(69,77,75);font-size:13px">             $('div.input').hide();</span><br style="color:rgb(69,77,75);font-size:13px">

<span style="color:rgb(69,77,75);font-size:13px">         }else{</span><br style="color:rgb(69,77,75);font-size:13px"><span style="color:rgb(69,77,75);font-size:13px">             $('div.input').show();</span><br style="color:rgb(69,77,75);font-size:13px">

<span style="color:rgb(69,77,75);font-size:13px">         }</span><br style="color:rgb(69,77,75);font-size:13px"><span style="color:rgb(69,77,75);font-size:13px">         show = !show</span><br style="color:rgb(69,77,75);font-size:13px">

<span style="color:rgb(69,77,75);font-size:13px">     }</span><br style="color:rgb(69,77,75);font-size:13px"><span style="color:rgb(69,77,75);font-size:13px"> </script></span><br style="color:rgb(69,77,75);font-size:13px">

<span style="color:rgb(69,77,75);font-size:13px"> <a href="javascript:toggle()" target="_self">toggle input</a></span><br style="color:rgb(69,77,75);font-size:13px"></font><span style="background-color:rgb(255,255,255)"><font color="#000000"><font face="Open Sans"><br>

</font></font></span></div><div><span style="color:rgb(0,0,0);font-family:'Open Sans'">(e.g. see here <a href="http://python.6.x6.nabble.com/IPython-User-Hide-code-cells-in-the-notebook-td4997151.html">http://python.6.x6.nabble.com/IPython-User-Hide-code-cells-in-the-notebook-td4997151.html</a> )</span><br>

</div><div><font color="#000000"><font face="Open Sans"><br></font></font></div><div><br></div><div><span style="font-family:'Open Sans';color:rgb(0,0,0)">However, I recently installed the latest ipython dev version, and now this snippet doesn't seem to be working any more. </span></div>

<div><span style="color:rgb(0,0,0);font-family:'Open Sans'"><br></span></div><div><span style="color:rgb(0,0,0);font-family:'Open Sans'">A</span><span style="color:rgb(0,0,0);font-family:'Open Sans'">ny obvious reasons for this? </span><br>

</div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br style="font-family:'Open Sans'"><span style="font-family:'Open Sans'">Ta, </span><br style="font-family:'Open Sans'">

<br style="font-family:'Open Sans'"><span style="font-family:'Open Sans'">john</span><br clear="all"></font></span><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><p><span style="font-size:10pt;color:rgb(127,127,127)">Mr. John Griffiths, MSc</span></p>

<p><span style="color:rgb(127,127,127);font-size:10pt">PhD Candidate</span></p><p><span style="font-size:10pt;color:rgb(127,127,127)">Centre for Speech, Language, and the Brain<u></u><u></u></span></p><p><span style="font-size:10pt;color:rgb(127,127,127)">Department of Experimental Psychology</span></p>

<p><span style="font-size:10pt;color:rgb(127,127,127)">University of Cambridge, UK</span></p>
</div></div>