Cursor Rule Markdown Renderer for GitHub

Renders Cursor Rules (*.mdc) markdown on GitHub into actual Markdown locally, using the marked library + highlight.js.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
Texarkanine
Dziennych instalacji
0
Wszystkich instalacji
4
Oceny
0 0 0
Wersja
1.6.4
Utworzono
27-05-2025
Zaktualizowano
04-04-2026
Rozmiar
23,2 KB
Licencja
Brak licencji
Dotyczy

Render Cursor Rules as Markdown on GitHub

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:

Toggle Button

Notes

  1. Uses the marked library to render the markdown, @require'd by *monkey from the CDN.
  2. Uses the highlight.js library to syntax highlight code blocks.
  3. Bakes in some CSS to make the markdown look like GitHub's default markdown; may differ slightly from "normal" GitHub markdown.
  4. Mermaid diagrams are supported via lazy loading. The ~2 MB Mermaid runtime is fetched only when a rendered .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.
  5. This will add some overhead to your GitHub browsing experience.

Example

Example