From 59cab4c2d869a1724f9bd575213520006c951a18 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Fri, 27 Feb 2015 09:17:55 -0800 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. --- IPython/html/static/notebook/js/menubar.js | 4 ++++ IPython/html/templates/notebook.html | 1 + 2 files changed, 5 insertions(+) diff --git a/IPython/html/static/notebook/js/menubar.js b/IPython/html/static/notebook/js/menubar.js index 24464fd07..d5758527e 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 b4a1de743..c3baed59b 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)