From 381da383d9020c0d2c15ebdf5fabe1cea5440519 Mon Sep 17 00:00:00 2001 From: Amit Kotlovski Date: Wed, 1 May 2013 23:10:31 +0300 Subject: Replace the ShowDown Markdown engine with marked --- plugin/markdown/markdown.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugin/markdown/markdown.js') diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index 48fcfbd..473666b 100755 --- a/plugin/markdown/markdown.js +++ b/plugin/markdown/markdown.js @@ -2,8 +2,8 @@ // Modified by Hakim to handle Markdown indented with tabs (function(){ - if( typeof Showdown === 'undefined' ) { - throw 'The reveal.js Markdown plugin requires Showdown to be loaded'; + if( typeof marked === 'undefined' ) { + throw 'The reveal.js Markdown plugin requires marked to be loaded'; } var stripLeadingWhitespace = function(section) { @@ -175,7 +175,7 @@ var markdown = stripLeadingWhitespace(section); - section.innerHTML = (new Showdown.converter()).makeHtml(markdown); + section.innerHTML = marked(markdown); if( notes ) { section.appendChild( notes ); -- cgit v1.2.3