# Mor.Da (Markdown Editor for AI & RAG) > Mor.Da is a web-based WYSIWYG editor and HTML-to-Markdown converter designed specifically for preparing structured context, prompts, and clean RAG database chunks for Large Language Models (LLMs). Developed by the digital agency Time2see. ## Core Capabilities - **Smart HTML Sanitization:** Converts pasted content from Word, Google Docs, or websites into clean Markdown while preserving essential structures (headings, lists, bold/italic text, tables). - **Dual Table Parsing Modes:** - **HTML Mode (Default):** Retains native HTML table tags (``, ``, `
`) to prevent attention-blurring and hallucinations in LLMs during long-context processing. - **GFM Mode:** Converts tables to standard GitHub Flavored Markdown (`| col | col |`) for documentation purposes. - **RAG Chunking Helper:** Inserts hard Markdown dividers (`---`) to separate semantic blocks for vector database indexing. - **Smart Export Macros:** One-click wrapping of output text in `` or `` XML tags. - **Prompt Potential Analyzer:** Real-time visual validator assessing prompt formatting quality (density of headings, lists, and paragraphs). - **Heuristic Token Counter:** Estimates token consumption for Cyrillic and Latin text strings without logging or sending data to servers. ## Technical Architecture - **Frontend Stack:** Vanilla JavaScript (ES6+), HTML5, CSS3, Vite. - **UI Framework:** UIkit with custom CSS overlays. - **WYSIWYG Engine:** Jodit Editor with tailored toolbar presets (`buttonsMD`, `buttonsSM`, `buttonsXS`). - **Markdown Converter:** TurndownService (utilizing dual isolated instances for GFM and HTML table preservation). ## Main Sections & Documentation - [Instruction](https://md.time2see.ru/#instruction): Detailed user guide explaining table modes, chunk cutting, export macros, and token counting mechanics. - [Philosophy](https://md.time2see.ru/#philosophy): The reasoning behind structuring text for LLMs, avoiding "Garbage In, Garbage Out" in RAG systems, and the story behind the project name. - [Changelog](https://md.time2see.ru/#changelog): Version history, updates, and upcoming features. ## About the Authors - **Developer & Agency MBP:** Anton Medvedev - **Agency:** Time2see Digital Agency (https://time2see.ru) - **Support & Feedback Email:** md@time2see.ru - **License:** Provided AS IS for the AI developer and prompt engineering community.