Renders Cursor Rules (*.mdc) markdown on GitHub into actual Markdown locally, using the marked library + highlight.js.
This UserScript renders Cursor Rules (*.mdc) markdown on GitHub into actual Markdown.
There will be a little toggle button in the top right of the page that allows you to switch between the rendered and source views:

@require'd by *monkey from the CDN.
.mdc file includes fenced mermaid blocks. It is injected using GM_addElement to bypass GitHub's Content Security Policy. This requires the GM_addElement grant, which is supported by Tampermonkey, Violentmonkey, and Greasemonkey.