diff --git a/plugin/markdown/example.html b/plugin/markdown/example.html index 364e866f90f34bf7f892d2e08bbcc933c406c145..36f6a5102a4f2b3280c0015e9755646e483e3556 100644 --- a/plugin/markdown/example.html +++ b/plugin/markdown/example.html @@ -7,7 +7,7 @@ <title>reveal.js - Markdown Demo</title> <link rel="stylesheet" href="../../css/reveal.css"> - <link rel="stylesheet" href="../../css/theme/default.css" id="theme"> + <link rel="stylesheet" href="../../css/theme/white.css" id="theme"> <link rel="stylesheet" href="../../lib/css/zenburn.css"> </head> diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index 9afee065f86101b6802db47d1a9d171df30dcde5..4847c7ad473618e536c911b101fce2ac2e55d06d 100755 --- a/plugin/markdown/markdown.js +++ b/plugin/markdown/markdown.js @@ -50,7 +50,7 @@ text = text.replace( new RegExp('\\n?\\t{' + leadingTabs + '}','g'), '\n' ); } else if( leadingWs > 1 ) { - text = text.replace( new RegExp('\\n? {' + leadingWs + '}'), '\n' ); + text = text.replace( new RegExp('\\n? {' + leadingWs + '}', 'g'), '\n' ); } return text;