mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 18:11:23 +01:00
We cant forget the secret way to make italics with underscores
This commit is contained in:
parent
8f56bea4cc
commit
98d13e9feb
@ -608,6 +608,7 @@
|
||||
text = text.replace(/\*\*(.*?)\*\*/g, "<b>$1</b>");
|
||||
text = text.replace(/\*(.*?)\*/g, "<i>$1</i>");
|
||||
text = text.replace(/__(.*?)__/g, "<u>$1</u>");
|
||||
text = text.replace(/_(.*?)_/g, "<i>$1</i>");
|
||||
text = text.replace(/~~(.*?)~~/g, "<del>$1</del>");
|
||||
text = text.replace(/\`\`\`([^]+)\`\`\`/g, "<code class=\"blockcode\">$1</code>");
|
||||
text = text.replace(/\`(.*?)\`/g, "<code>$1</code>");
|
||||
|
Loading…
Reference in New Issue
Block a user