MoonBit ❤️ LeetCode

add support of moonbit language to leetcode

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
A23187
评分
0 0 0
版本
1.1.2
创建于
2025-04-22
更新于
2025-05-28
大小
12.8 KB
许可证
MIT
适用于

MoonBit ❤️ LeetCode

A browser extension to add support of moonbit language to leetcode, allowing you to solve leetcode problems using moonbit

MoonBit ❤️ LeetCode

Features

  1. Support syntax highlighting, code completion, and hover hints
  2. Support running and submitting your solutions written in moonbit, by compiling to javascript

How to use

Tampermonkey script

  1. Install tampermonkey extension in your browser
  2. Install moonbit-leetcode.js

Microsoft Edge extension

Install from https://microsoftedge.microsoft.com/addons/detail/jbjbplbebmpbbepanapebfigkgjedgjl. Or clone this repository to load manually, see more here

Google Chrome extension

Clone this repository to load manually, see more here

Change logs

### 1.1.2 1. For moonbit, support reset to default code ### 1.1.1 1. Fix ### 1.1.0 1. Support installation as Microsoft Edge or Google Chrome extension ### 1.0.2 1. Use the localStorage of browser to persist the moonbit code 2. When switch language from moonbit to others, restore their code ### 1.0.1 1. Annotate the moonbit source code as comments in the compilied javascript code

Credits

License

MIT License