Show More
@@ -126,6 +126,10 b' define([' | |||||
126 | that._nbconvert('html', true); |
|
126 | that._nbconvert('html', true); | |
127 | }); |
|
127 | }); | |
128 |
|
128 | |||
|
129 | this.element.find('#download_markdown').click(function () { | |||
|
130 | that._nbconvert('markdown', true); | |||
|
131 | }); | |||
|
132 | ||||
129 | this.element.find('#download_rst').click(function () { |
|
133 | this.element.find('#download_rst').click(function () { | |
130 | that._nbconvert('rst', true); |
|
134 | that._nbconvert('rst', true); | |
131 | }); |
|
135 | }); |
@@ -106,6 +106,7 b' data-notebook-path="{{notebook_path}}"' | |||||
106 | <li id="download_ipynb"><a href="#">IPython Notebook (.ipynb)</a></li> |
|
106 | <li id="download_ipynb"><a href="#">IPython Notebook (.ipynb)</a></li> | |
107 | <li id="download_script"><a href="#">Script</a></li> |
|
107 | <li id="download_script"><a href="#">Script</a></li> | |
108 | <li id="download_html"><a href="#">HTML (.html)</a></li> |
|
108 | <li id="download_html"><a href="#">HTML (.html)</a></li> | |
|
109 | <li id="download_markdown"><a href="#">Markdown (.md)</a></li> | |||
109 | <li id="download_rst"><a href="#">reST (.rst)</a></li> |
|
110 | <li id="download_rst"><a href="#">reST (.rst)</a></li> | |
110 | <li id="download_pdf"><a href="#">PDF (.pdf)</a></li> |
|
111 | <li id="download_pdf"><a href="#">PDF (.pdf)</a></li> | |
111 | </ul> |
|
112 | </ul> |
General Comments 0
You need to be logged in to leave comments.
Login now