I built a small but polished native mac markdown reader that you can install, and if you set it as the default handler of markdown files, xcode wont highjack it, I just tested that with my update to macos/xcode 27. It's currently waiting review to be published on the app store, but you can download directly from my webpage. it's open source.
https://nano.thirdeyeds.com/