Python: Insert escape character (single ”) into a string to escape markdown text rendering later
I’m hoping I’m overlooking something simple here. I have a function that sends some debug messages to Discord in code blocks (“`). Since it can quote past messages, previous code blocks can interrupt the formatting of the new ones added by my function and break up the message into multiple code blocks at odd places, making it difficult to read.