summaryrefslogtreecommitdiffhomepage
path: root/plugin/notes/notes.html
diff options
context:
space:
mode:
authorHakim El Hattab2013-05-02 09:09:33 -0400
committerHakim El Hattab2013-05-02 09:09:33 -0400
commitbeda5f4881e99aa84beccfcde453eab15be2d4de (patch)
treedc13ee3fe3fb8bb24049b8d800603f08432d4316 /plugin/notes/notes.html
parentb649c19af95d0494aa2127eb2069d2a7f108ab72 (diff)
parent381da383d9020c0d2c15ebdf5fabe1cea5440519 (diff)
merge showdown to marked migration
Diffstat (limited to 'plugin/notes/notes.html')
-rw-r--r--plugin/notes/notes.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html
index e14c6ac..830045d 100644
--- a/plugin/notes/notes.html
+++ b/plugin/notes/notes.html
@@ -159,7 +159,7 @@
<div id="notes"></div>
- <script src="../../plugin/markdown/showdown.js"></script>
+ <script src="../../plugin/markdown/marked.js"></script>
<script>
window.addEventListener( 'load', function() {
@@ -175,7 +175,7 @@
// No need for updating the notes in case of fragment changes
if ( data.notes !== undefined) {
if( data.markdown ) {
- notes.innerHTML = (new Showdown.converter()).makeHtml( data.notes );
+ notes.innerHTML = marked( data.notes );
}
else {
notes.innerHTML = data.notes;