diff --git a/labscore/utils/markdown.js b/labscore/utils/markdown.js index 20c19d9..966a830 100644 --- a/labscore/utils/markdown.js +++ b/labscore/utils/markdown.js @@ -10,7 +10,7 @@ module.exports.highlight = function(content){ } module.exports.codeblock = function(type, content){ - return "```" + type + "\n" + content.join('\n') + "\n```" + return "```" + type + "\n" + content.join('\n').replace(/`/g, '`​') + "\n```" } module.exports.link = function(url, masked, tooltip = ""){