CuteMarkEd icon indicating copy to clipboard operation
CuteMarkEd copied to clipboard

#define from code blocks highlights and sizes like a header

Open crxtrdude opened this issue 9 years ago • 1 comments

I removed this clause from my previous closed issue because this is unrelated to it (now that I thought about it)

On the editor side, if you enclose it on a code block (```), #define or anything similar should be highlighted as if part of the code. The output shows it correctly. The problem is on the editor side when #define becomes parsed as a header, the text color turns pink and font sizes as a header, even if it's not really a header.

If it's a duplicate sorry about that. I just want it to be made aware, for people who use it for documenting code.

crxtrdude avatar Nov 20 '15 11:11 crxtrdude

I can confirm observing the same problem. Happens in my case for Bash scripts I want to insert verbatim. In Bash scripts, hash symbol is used to start a comment for the remainder of the same line.

thfi avatar Feb 13 '17 10:02 thfi