Cursor Rule Markdown Renderer for GitHub

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

ผู้เขียน
Texarkanine
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
1
คะแนน
0 0 0
เวอร์ชัน
1.5.0
สร้างเมื่อ
27-05-2025
อัปเดตเมื่อ
02-06-2025
Size
14 กิโลไบต์
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ

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. This will add some overhead to your GitHub browsing experience.