And we're back at the fact that we need a compiler library.
Not necessarily... the ddoc comments are available in the compiler's json output (use -X and -D together in dmd). It doesn't do syntax highlighting and could offer a lot more info than it does now... but it does give enough to approximate your own ddoc.
I'm using the json output for dpldocs.info version two: http://dpldocs.info/search/search?searchTerm=std.regex