WaqfTech Markdown Editor
Lightweight React markdown editor with natural Arabic Islamic typography and guided Quran insertion
Why This Was Built
Standard markdown editors treat Arabic as plain bidirectional text, lacking native handling of Quranic punctuation, Aya numbering brackets, Hadith quotation conventions, and classical Arabic ligature abbreviations.
The Architectural Answer
An intelligent React editor with real-time text normalization that formats Quranic verse brackets ﴿ ﴾, Hadith quotation marks « », and honorific ligatures on typing, paired with a guided surah and ayah lookup palette.
Key Features & Architecture
Technical Specifications
- Primary Languages
- TypeScriptReactCSS
- Frameworks & Tooling
- ReactComarkLucide IconsViteTailwind CSS
- Architecture & Execution Model
- Client-side typography transforms, two-row modular toolbar, Comark AST pipeline, and zero server persistence
- Licensing Model
- WaqfDPL-Isnad 1.0 (waqf)
- Release & Lineage
- Active release cycle since 2026 · Maintained by @JadMadi
Frequently Asked Questions
Can I use this component in React projects?
Yes. Install @waqftech/markdown-editor along with peer dependencies (comark, @comark/react, lucide-react) using pnpm add @waqftech/markdown-editor comark @comark/react lucide-react, import the stylesheet @waqftech/markdown-editor/styles.css, and render <MarkdownField />.
Does it support Quran verse search offline or via API?
It supports both: direct syntax lookup like /quran 1:2 and a guided search palette powered by the high-performance kv-quran edge API on Cloudflare Workers.
What license governs this package?
It is released under the Waqf Digital Public License (WaqfDPL-Isnad 1.0), dedicated as continuous digital endowment (Waqf) for the sake of Allah with attribution required.