mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-13 13:17:50 +08:00
Merge pull request #7893 from Carreau/add-markdown-menu
Add Markdown to the list of downloadable nbconverted formats.
This commit is contained in:
commit
de90843b29
@ -126,6 +126,10 @@ define([
|
||||
that._nbconvert('html', true);
|
||||
});
|
||||
|
||||
this.element.find('#download_markdown').click(function () {
|
||||
that._nbconvert('markdown', true);
|
||||
});
|
||||
|
||||
this.element.find('#download_rst').click(function () {
|
||||
that._nbconvert('rst', true);
|
||||
});
|
||||
|
@ -106,6 +106,7 @@ data-notebook-path="{{notebook_path}}"
|
||||
<li id="download_ipynb"><a href="#">IPython Notebook (.ipynb)</a></li>
|
||||
<li id="download_script"><a href="#">Script</a></li>
|
||||
<li id="download_html"><a href="#">HTML (.html)</a></li>
|
||||
<li id="download_markdown"><a href="#">Markdown (.md)</a></li>
|
||||
<li id="download_rst"><a href="#">reST (.rst)</a></li>
|
||||
<li id="download_pdf"><a href="#">PDF (.pdf)</a></li>
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user