diff options
author | Amit Kotlovski <amitbk@gmail.com> | 2013-05-01 23:10:31 +0300 |
---|---|---|
committer | Amit Kotlovski <amitbk@gmail.com> | 2013-05-01 23:10:31 +0300 |
commit | 381da383d9020c0d2c15ebdf5fabe1cea5440519 (patch) | |
tree | ab8b32f52ff0d9c11d09d2de34e37c0f0b1106eb /plugin/notes-server | |
parent | 247771e129f431fc751140d8da4c2fe60815a51f (diff) | |
download | fosdem-2018-presentation-381da383d9020c0d2c15ebdf5fabe1cea5440519.tar fosdem-2018-presentation-381da383d9020c0d2c15ebdf5fabe1cea5440519.tar.gz |
Replace the ShowDown Markdown engine with marked
Diffstat (limited to 'plugin/notes-server')
-rw-r--r-- | plugin/notes-server/notes.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/notes-server/notes.html b/plugin/notes-server/notes.html index 053cb5e..551e400 100644 --- a/plugin/notes-server/notes.html +++ b/plugin/notes-server/notes.html @@ -99,7 +99,7 @@ <div id="notes"></div> <script src="/socket.io/socket.io.js"></script> - <script src="/plugin/markdown/showdown.js"></script> + <script src="/plugin/markdown/marked.js"></script> <script> var socketId = '{{socketId}}'; @@ -113,7 +113,7 @@ if (data.socketId !== socketId) { return; } if (data.markdown) { - notes.innerHTML = (new Showdown.converter()).makeHtml(data.notes); + notes.innerHTML = marked(data.notes); } else { notes.innerHTML = data.notes; |