MarkReview
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Basarisiz
- exec() — Shell command execution in src/annotationCodec.ts
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Visual double-click Markdown review, color-coded inline annotations, and formal math verification (SymPy / Z3 / Lean 4) in VS Code — 100% offline, Remote-SSH native, built for Claude Code / Antigravity / Cursor / Codex.
MarkReview
Visual double-click Markdown review, color-coded inline annotations, and formal math verification (SymPy / Z3 / Lean 4) in VS Code — 100% offline, Remote-SSH native, bilingual (EN / 简体中文), built for multi-AI collaboration.
English · 简体中文 · Changelog · Contributing · Verification Skill
Double-click any rendered paragraph → Drop color-coded annotations or formal math checks → Atomic write-back to
.md(Ctrl+Zundoable) → 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+ZUndoable): Double-click any paragraph in the right preview (or hover and click✎ Note) to open a sleek inline composer; pressCtrl+Enterto write cleanly right below that paragraph in.mdsource. - 🔬 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 likeSymPy+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 Leansorry/customaxiom; 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.
- 📋 Review Handoff Prompt — groups all unresolved annotations & pending formula checks by priority with headings, paragraph anchors (
- 🌐 Full Bilingual Support (
English/简体中文): Automatically follows your VS Code display language (markreview.locale: "auto", or switch explicitly betweenenandzh-CNanytime). 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.mdin 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 |
|---|---|
![]() |
![]() |
5 Semantic Tag Presets & Source-as-Truth Format
| 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:
- Skill Specification:
skills/markreview-verify/SKILL.md - Zero-Dependency Lean 4 Anti-
sorry/ CustomaxiomStatic Checker:skills/markreview-verify/scripts/check_lean_proof.py
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 Offline .vsix Package (10 Seconds, Air-Gap Ready)
- Download
markreview-0.2.1.vsixfrom GitHub Releases. - In VS Code Extensions view, click
...→Install from VSIX...(or runcode --install-extension markreview-0.2.1.vsix). - Open any
.mdfile and pressCtrl + Alt + R(Cmd + Alt + Ron macOS).
Option 2: 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!
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi

