diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index 07ffd80..6331171 100644 --- 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