Couldn't that, in principle, be implemented as an Atom plugin? You'd be able to get the HTML output you desire.
I use Visual Studio to edit & compile, and Qt Creator. You've given me an idea: a VS plugin. Would a VS plugin be allowed to display the source code, I wonder? I'd pay money for that.