Your docs even support dark mode! Did that come out of the box or did you add that?
You could also write your own remark plugin, that does it for you, and would have the benefit of having more control over what happens on the github side if it was still standard markdown.