Unwanted formatting for a command syntax. dropdown effect

No idea what happened here. I pasted a oneliner from cmd.exe and it acts strangely.


When I put a pointer to certain line the code expands, showing == and %% signs, which are supposed to appear there normally, as they are part of the command syntax.
image
image
image

I don’t want:

  • black text,
  • yellow background,
  • dropdown effect.
    How did it triggered, what are the names of these settings? Supposedly the answer is in some docs, but I can’t devote hours to this topic. If You know and can tell me, thank You in advance.

Two equal signs is common to use for highlighting, and this is what you’re experiencing here. To avoid it, you could either add spaces around the ==, or you could add a backslash in front of it, like doing \==.

In the image, source mode to the left, and live preview to the right (which is the same as reading mode except for line numbers in front). As can be seen, the second and third line do not highlight the phrase “hi there”.

Since this is code it would be best to put it into a code block

2 Likes

HeHe… That’s so obvious, that it didn’t even occur to me that the entire block should be a code block. Sometimes you can’t see the forest because of all the trees blocking the view. :smiley: