diff --git a/labscore/utils/markdown.js b/labscore/utils/markdown.js index 7968e18..f66928a 100644 --- a/labscore/utils/markdown.js +++ b/labscore/utils/markdown.js @@ -11,7 +11,7 @@ module.exports.highlight = function(content = ""){ module.exports.codeblock = function(type, content = ""){ if(!content.length) return "```" + type + "\n```" - return "```" + type + "\n" + content.toString().join('\n').replace(/\`/g, '`​') + "\n```" + return "```" + type + "\n" + content.join('\n').replace(/\`/g, '`​') + "\n```" } module.exports.link = function(url, masked, tooltip = ""){