Cursor Rule Markdown Renderer for GitHub

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

当前为 2025-05-30 提交的版本,查看 最新版本

作者
Texarkanine
评分
0 0 0
版本
1.3.0
创建于
2025-05-27
更新于
2025-05-30
大小
11.5 KB
许可证
暂无
适用于

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.
    • this WILL add some overhead to your GitHub browsing experience.
  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.