Double-click any rendered paragraph → Drop color-coded annotations or formal math checks → Atomic write-back to .md (Ctrl+Z undoable) → Hand off directly to Claude Code / Antigravity / Cursor / Codex.
Who Is MarkReview For?
Anyone who writes, reviews, verifies, or co-authors Markdown documents in VS Code — with humans or terminal AI agents:
| Audience |
Typical Documents |
How MarkReview Helps |
| Software & AI Engineering Teams |
Technical RFCs, Architecture Design Docs, PRDs, AI Agent Plans (plan.md / spec.md) |
Double-click paragraphs to drop 🔴 Must Fix / 🔵 Author Notes, verify algorithmic formulas with 🔬 SymPy+NumPy, keep annotations in Git, and copy structured prompts directly to Claude Code / Cursor / Antigravity / Codex |
| Research Institutes & Air-Gapped Teams |
Technical feasibility reports, algorithm specs, classified/intranet review drafts |
100% local & offline — bundles KaTeX CSS & all 20 .woff2 fonts with zero external CDN calls, zero cloud uploads, and zero telemetry |
| Academic Authors & Research Labs |
Top-venue papers (IEEE / Nature / NeurIPS), theses, rebuttals, dual-AI co-signing |
Crisp paper reading mode + offline KaTeX cache + 🔬 Formal Verify (SymPy / Z3 / Lean 4) to eliminate LLM mental-math hallucinations, plus one-click clean export before LaTeX conversion |
| Markdown Power Users |
Technical blogs, long-form tutorials, research notes |
Source-as-Truth: annotations and verification evidence live right inside plain .md files with zero proprietary database lock-in |
Key Features
- ⚡ Double-Click Any Paragraph to Annotate (
Ctrl+Z Undoable): Double-click any paragraph in the right preview (or hover and click ✎ Note) to open a sleek inline composer; press Ctrl+Enter to write cleanly right below that paragraph in .md source.
- 🔬 Formal Math Verification Cards & Tool Badges (
Alt+5): Hover any math block and click 🔬 Verify (or double-click display math $$...$$) to attach verification cards with selectable tool badges (SymPy+NumPy, SymPy, Z3, Lean 4, Auto, plus arbitrary AI-returned combinations like SymPy+Z3) and status badges (⏳ Pending, ✅ Verified, ❌ Failed).
- 📋 3-in-1 AI Collaboration Prompt Menu (with viewport-clamped narrow-pane layout):
- 📋 Review Handoff Prompt — groups all unresolved annotations & pending formula checks by priority with headings, paragraph anchors (
<!-- [S2.3-P2] -->), line numbers, and excerpts;
- 🔬 Formal Math Verification Prompt — enforces an Anti-Hallucination Protocol (never verify by mental math alone; execute local
SymPy/NumPy/Z3/Lean 4; zero Lean sorry/custom axiom; prevent formalization drift) with exact write-back examples;
- 🟣 AI Reviewer Audit Prompt — instructs your AI agent to audit the manuscript as a rigorous peer reviewer / staff architect and insert purple critique cards directly below weak sections.
- 🌐 Full Bilingual Support (
English / 简体中文): Automatically follows your VS Code display language (markreview.locale: "auto"), plus a one-click 中 | EN segmented switch right on the preview toolbar for instant switching anytime. Cross-language parsing seamlessly recognizes both English and Chinese cards in shared documents!
- 🚀 60fps Incremental Patching + Memoized Offline KaTeX: Only modified DOM blocks repaint (
< 8ms), running in the local UI host (extensionKind: ["ui", "workspace"]) for lag-free Remote-SSH workflows (~435 KB total VSIX size).
- 🧹 One-Click Clean Export, 3 Syntaxes & Dual Themes: Strip all annotations & verification cards into
*_clean.md in one click; switch freely between colored HTML <span> (MPE & GitHub compatible), pure Markdown blockquotes (> **[Tag]**: ...), and CriticMarkup ({>>...<<}), plus ☀️ Paper / 🌙 Dark themes.
Screenshots
🔬 Verified Formula Card (SymPy+Z3 · ✅ Verified) |
📋 3-in-1 AI Collaboration Prompt Menu |
 |
 |
View: Terminal AI Agent (SymPy + Z3) Formal Verification Closed Loop
| Shortcut |
Tag (EN / 中文) |
Semantics |
Counts as Open |
Alt + 1 |
🔵 Author Note / 作者批注 |
Question, tradeoff, or context note (ask AI to analyze before rewriting) |
Yes |
Alt + 2 |
🔴 Must Fix / 必须修改 |
Mandatory revision instruction (logic, wording, API, or equation fix) |
Yes |
Alt + 3 |
🟣 Reviewer Critique / 审稿人视角 |
Rigorous peer-review / architecture critique (manual or AI-authored inline) |
Yes |
Alt + 4 |
🟢 Co-Signed / 已双签确认 |
Reviewed & signed off by human + AI |
No |
Alt + 5 |
🔬 Formal Verify / 形式化验证 |
Equation & derivation verification card with tool badge & Pending / Verified / Failed status |
Pending / Failed = Yes; Verified = No |
Default MPE & GitHub-compatible <span> write-back example (both English and Chinese headers are parsed interchangeably):
<!-- Pending check created from formula block hover -->
<span class="mr-ann mr-verify mr-verify-pending" data-mr="verify" data-mr-tool="Z3" data-mr-status="pending" style="color: #0f766e; font-weight: bold;">[Formal Verify | Z3 | Pending: Prove ∀t_i>0 W̄ ≥ t̄/2 and recompute worked table]</span>
<!-- Updated directly by your terminal AI agent after real SymPy + Z3 execution -->
<span class="mr-ann mr-verify mr-verify-verified" data-mr="verify" data-mr-tool="SymPy+Z3" data-mr-status="verified" style="color: #15803d; font-weight: bold;">[Formal Verify | SymPy+Z3 | Verified: Z3 proved ∀t_i>0 $\bar{W} \ge \bar{t}/2$; SymPy confirmed table values 2.5/3.0 with 0 error]</span>
Bundled Universal Agent Skill: markreview-verify
This repository includes a cross-agent formal verification Skill ready for Claude Code, Antigravity, Cursor, and Codex:
Drop skills/markreview-verify/ into your AI agent's skills directory to enable standardized tiered verification (SymPy+NumPy → Z3 → Lean 4) and optional dual-AI cross-auditing against formalization drift.
Quick Start
Option 1: Install from Extension Marketplace (Recommended)
Option 2: Install Offline .vsix Package (Air-Gap / Intranet Ready)
- Download
markreview-ai-0.2.4.vsix from GitHub Releases.
- In VS Code Extensions view, click
... → Install from VSIX... (or run code --install-extension markreview-ai-0.2.4.vsix).
Option 3: Build & Test from Source
git clone https://github.com/xd11012202/MarkReview.git
cd MarkReview
npm install
npm run typecheck # Strict TypeScript check
npm run build # esbuild extension, webview, and offline KaTeX bundle
npm test # Run node:test unit suite
npm run package # Package offline .vsix
Open-Source Spirit, Privacy & Attribution
- 100% Local & Offline-Safe: MarkReview performs zero network calls, zero external CDN requests, and zero telemetry; your documents never leave your machine or intranet. When pasting generated prompts into external LLMs, please follow your organization's confidentiality and data-sanitization policies.
- Respecting Original Work: Released under the MIT License. Issues, feedback, and pull requests are warmly welcome — please preserve copyright and attribution notices when forking or redistributing.
If MarkReview streamlines your RFCs, research manuscripts, or AI-assisted writing workflow, please consider giving it a ⭐ Star!
| |