This commit is contained in:
derpystuff 2023-08-27 13:53:29 +02:00
parent 1362395228
commit 8cca54f66c

View file

@ -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 = ""){