Add blockquote formatting

This commit is contained in:
Jeremy Zhang
2020-03-07 16:57:10 -08:00
parent 64cb595f0d
commit 747c4dc63e
2 changed files with 9 additions and 0 deletions

View File

@ -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(/^&gt; (.*?)$/gm, "<span class=\"blockquote\">$1</span>");
if (links) {
for (var i = 0; i < links.length; i++) {
text = text.replace("$LINK"+i+"$", links[i]);