Is there a need for formatting escape strings?

This is definitely a niche request, but I was just writing myself a card about the use of “==” in Python, and it got formatted as a highlight string. Would be handy if I could somehow prevent the highlight formatting… but maybe this is more pain than it’s worth! Putting the second sentence on a new line does the trick, in this case.

e.g.:
Both “is” and “==” are used for object comparison in Python. The operator “==” compares values of two objects…

Hi Daniel,

You can escape any markdown formatting by adding a backlash before the characters, e.g. in your case:

Both “is” and “\=\=” are used for object comparison in Python. The operator “\=\=” compares values of two objects…

The backslashes won’t be rendered in the display mode of a card

1 Like

ah excellent! I didn’t know, should have tried that!

1 Like