mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 19:35:24 +02:00
Add blockquote formatting
This commit is contained in:
@ -1509,6 +1509,7 @@
|
||||
text = text.replace(/~~(.*?)~~/g, "<del>$1</del>");
|
||||
text = text.replace(/\`\`\`([^]+?)\`\`\`/g, "<code class=\"blockcode\">$1</code>");
|
||||
text = text.replace(/\`(.*?)\`/g, "<code>$1</code>");
|
||||
text = text.replace(/^> (.*?)$/gm, "<span class=\"blockquote\">$1</span>");
|
||||
if (links) {
|
||||
for (var i = 0; i < links.length; i++) {
|
||||
text = text.replace("$LINK"+i+"$", links[i]);
|
||||
|
Reference in New Issue
Block a user