projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3924878
)
avoid stripping out notes when parsing markdown (closes #253)
author
Hakim El Hattab
<hakim.elhattab@gmail.com>
Fri, 16 Nov 2012 14:25:26 +0000
(09:25 -0500)
committer
Hakim El Hattab
<hakim.elhattab@gmail.com>
Fri, 16 Nov 2012 14:25:26 +0000
(09:25 -0500)
plugin/markdown/markdown.js
patch
|
blob
|
history
diff --git
a/plugin/markdown/markdown.js
b/plugin/markdown/markdown.js
index 07ffd808bbbee28e99a06deb3efbda03f892dcb3..6331171a72785f78f3b1fce33eca6a1f7d3c12d9 100644
(file)
--- a/
plugin/markdown/markdown.js
+++ b/
plugin/markdown/markdown.js
@@
-10,6
+10,7
@@
for( var i = 0, len = sections.length; i < len; i++ ) {
var section = sections[i];
+ var notes = section.querySelector( 'aside.notes' );
var template = section.querySelector( 'script' );
@@
-27,6
+28,8
@@
}
section.innerHTML = (new Showdown.converter()).makeHtml(text);
+
+ section.appendChild( notes );
}
})();
\ No newline at end of file