This is a question I made as a reply in another thread, but it's important enough to me to warrant its own thread:
In the new editor, if I paste some text that contains markdown, it is automatically formatted. But I'm not always pasting markdown into the editor: sometimes I'm pasting code or plaintext that contains markdown by pure coincidence. For example, I tried to paste this Regular Expression into a comment:
test(\(.*, async )\(.*\n.*setNativeDialog.*\n.*\n.*\}\).*
The new editor modified this string, removing pairs of asterisks and italicizing the substrings within. This changes the meaning of my code.
The old editor pastes my code as shown above; the code retains its original and correct meaning. How do you do this in the new editor?
If you type /code in the new editor, it will give you a text box where syntax is preserved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.