summaryrefslogtreecommitdiffhomepage
path: root/plugin/markdown/markdown.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/markdown/markdown.js')
-rw-r--r--plugin/markdown/markdown.js3
1 files changed, 3 insertions, 0 deletions
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