Can the Unformatted Code Detector be disabled per user?

You can configure in your profile whether links should open in a new tab:
https://meta.discourse.org/my/preferences/interface


Admins can also configure the default for all users with the default other external links in new tab site setting.