##// END OF EJS Templates
Add option to download as reST
Thomas Kluyver -
Show More
@@ -134,6 +134,10 b' var IPython = (function (IPython) {'
134 that._nbconvert('html', true);
134 that._nbconvert('html', true);
135 });
135 });
136
136
137 this.element.find('#download_rst').click(function () {
138 that._nbconvert('rst', true);
139 });
140
137 this.element.find('#rename_notebook').click(function () {
141 this.element.find('#rename_notebook').click(function () {
138 IPython.save_widget.rename_notebook();
142 IPython.save_widget.rename_notebook();
139 });
143 });
@@ -83,6 +83,7 b' class="notebook_app"'
83 <li id="download_ipynb"><a href="#">IPython Notebook (.ipynb)</a></li>
83 <li id="download_ipynb"><a href="#">IPython Notebook (.ipynb)</a></li>
84 <li id="download_py"><a href="#">Python (.py)</a></li>
84 <li id="download_py"><a href="#">Python (.py)</a></li>
85 <li id="download_html"><a href="#">HTML (.html)</a></li>
85 <li id="download_html"><a href="#">HTML (.html)</a></li>
86 <li id="download_rst"><a href="#">reST (.rst)</a></li>
86 </ul>
87 </ul>
87 </li>
88 </li>
88 <li class="divider"></li>
89 <li class="divider"></li>
General Comments 0
You need to be logged in to leave comments. Login now