mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	We cant forget the secret way to make italics with underscores
This commit is contained in:
		@@ -608,6 +608,7 @@
 | 
				
			|||||||
        text = text.replace(/\*\*(.*?)\*\*/g, "<b>$1</b>");
 | 
					        text = text.replace(/\*\*(.*?)\*\*/g, "<b>$1</b>");
 | 
				
			||||||
        text = text.replace(/\*(.*?)\*/g, "<i>$1</i>");
 | 
					        text = text.replace(/\*(.*?)\*/g, "<i>$1</i>");
 | 
				
			||||||
        text = text.replace(/__(.*?)__/g, "<u>$1</u>");
 | 
					        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, "<del>$1</del>");
 | 
				
			||||||
        text = text.replace(/\`\`\`([^]+)\`\`\`/g, "<code class=\"blockcode\">$1</code>");
 | 
					        text = text.replace(/\`\`\`([^]+)\`\`\`/g, "<code class=\"blockcode\">$1</code>");
 | 
				
			||||||
        text = text.replace(/\`(.*?)\`/g, "<code>$1</code>");
 | 
					        text = text.replace(/\`(.*?)\`/g, "<code>$1</code>");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user