LeetMark is a productivity-focused Chrome extension that helps you instantly capture, preview, and organize your LeetCode solutions in Markdown format. Whether you're preparing for interviews or building a personal portfolio, LeetMark makes documenting and exporting your LeetCode submissions effortless and beautiful.
- 🧠 Smart Code Extraction – Automatically fetches your solution from LeetCode’s editor
- 📄 Markdown Preview – Instantly shows how your submission will look when saved
- 🎨 Dark Theme UI – Sleek, modern popup design that doesn’t hurt your eyes
- ⌨️ Copy Markdown – One-click copy button for easy saving/sharing
- 🔒 No Data Sent – Everything happens locally. Your code stays private.
Clone the repo:
git clone https://github.com/payalgupta25/Extension-LeetMark.git
cd Extension-LeetMark-
Load the extension in Chrome:
- Open Chrome and go to: chrome://extensions/
- Enable Developer Mode (top-right corner)
- Click "Load Unpacked"
- Select the
Extension-LeetMark/directory
-
Run it:
- Navigate to any LeetCode problem
- Click the LeetMark extension icon
- Boom! — Your markdown is generated!
- JavaScript (Vanilla)
- HTML5 & CSS3
- Chrome Extension APIs
- Groq API (Google)
- Auto Extraction – Grabs code and problem title from LeetCode
- AI Powered – Sends it to Gemini API to generate markdown content
- Includes:
- Intuition
- Approach
- Time/Space Complexity
- Full Code Block
- Dark Mode – Stylish and easy on the eyes
- Instant Results – Just click and copy!
"Code once. Capture forever." — LeetMark
If you like it, please ⭐ the repo or contribute ideas and improvements!