I am trying to add a code snippet to an email without the format changing. For example, I paste this code into the email and it reformats it to all be in a straight line and loses its coloring. Is there any way I can make it to embed code as is? (but just have it preview the code text not actually show something from the code).
Hi @HMoreno1 there is no code block option or styling for code in email because sending code directly in email would trigger all kinds of spam flags.
My suggestion would be to use a GitHub gist or create a website page, landing page, blog page, knowledge base article, etc. that has your code and link to that in the email - you could use a screenshot as a placeholder for the code in the email.
If my reply answered your question please mark it as a solution to make it easier for others to find.
Hi @HMoreno1 there is no code block option or styling for code in email because sending code directly in email would trigger all kinds of spam flags.
My suggestion would be to use a GitHub gist or create a website page, landing page, blog page, knowledge base article, etc. that has your code and link to that in the email - you could use a screenshot as a placeholder for the code in the email.
If my reply answered your question please mark it as a solution to make it easier for others to find.