2024-04-24 02:29 AM - edited 2024-04-24 02:29 AM
If I have the following code snippet:
@Echo OFF
And I edit my post it changes to:
OFF
In addition after edition the post it will add extra new lines around the snippet for each edit.
Syntax highlighting is good, but I'm missing a plain text option in case the language is not listed.
2024-04-24 02:34 AM
@unsigned_char_array wrote:after edition the post it will add extra new lines around the snippet for each edit.
Yes, this is annoying.
@unsigned_char_array wrote:missing a plain text option in case the language is not listed.
Absolutely!
There is often a need to have just monospaced plain text - no syntax highlighting.
eg, build output; ASCII Art
2024-04-24 02:35 AM
Just trying it:
@Echo OFF
2024-04-24 02:37 AM
@Andrew Neil wrote:Just trying it:
@Echo OFF
This is what I actually entered:
So, in my case, it still shows the "@Echo" - but it's changed the case!
2024-04-24 02:43 AM - edited 2024-04-24 05:55 AM
Yes with me it changed the case too. It was all caps when I entered it. I think it confuses it for a username as the at symbol is used to reference users. But that should be ignored inside a code block. And with subsequent editing the at and the Echo will both disappear leaving the space and the off.
2024-04-24 03:19 AM
Ah yes - there is, indeed, as user named 'Echo':
:face_with_rolling_eyes:
2024-04-24 05:58 AM
LOL. I didn't even check. Good thing there is no user named DROP TABLE.