Closed lx78WyY0J5 closed 4 months ago
Find a way to break bold & italic if using a backslash before
.replace(/\*(?![^]*(`{1,3}|<|>|<code>\s*|<textarea>\s*)).*?(?=\s*(?!`{0,3}|<\/textarea>)|<|\/code>)/gm, '<em>$&</em>')
dont work
.replace(/\*\*(.*?)\*\*/gm, '<b>$1</b>') // bold text .replace(/\*(.*?)\*/gm, '<i>$1</i>') // italic text .replace(/\_\_(.*?)\_\_/gm, '<u>$1</u>') // underline
abc *abc*
Find a way to break bold & italic if using a backslash before
dont work
To do
abc *abc*