From bfd58b1ffa80f7dde2a4a9a54dfe90d48dd82807 2015-02-27 17:17:55 From: Matthias Bussonnier Date: 2015-02-27 17:17:55 Subject: [PATCH] Add Markdown to the list of downloadable nbconverted formats. Seem it was just forgotten. The list was not auto generated on purpose IIRC, as some format, like TeX were deemed not useful in menu. --- diff --git a/IPython/html/static/notebook/js/menubar.js b/IPython/html/static/notebook/js/menubar.js index 24464fd..d575852 100644 --- a/IPython/html/static/notebook/js/menubar.js +++ b/IPython/html/static/notebook/js/menubar.js @@ -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); }); diff --git a/IPython/html/templates/notebook.html b/IPython/html/templates/notebook.html index b4a1de7..c3baed5 100644 --- a/IPython/html/templates/notebook.html +++ b/IPython/html/templates/notebook.html @@ -106,6 +106,7 @@ data-notebook-path="{{notebook_path}}"
  • IPython Notebook (.ipynb)
  • Script
  • HTML (.html)
  • +
  • Markdown (.md)
  • reST (.rst)
  • PDF (.pdf)