0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-13 13:02:45 +00:00

Moved files into statics, finally fixed the brew editor breaking on resizze

This commit is contained in:
Scott Tolksdorf
2017-02-28 21:07:37 -05:00
parent 4c874149fb
commit 00f2703d0b
8 changed files with 68 additions and 24 deletions

View File

@@ -26,6 +26,10 @@ renderer.paragraph = function(text){
return res;
};
renderer.image = function(href, title, text){
return `<img src="${href}" class="${text.split(',').join(' ')}"></img>`;
};
module.exports = {
marked : Markdown,