MoLOS-Markdown Module
A comprehensive document management system with hierarchical pages and Google Keep-style quick notes.
Overview
Location: /ui/MoLOS-Markdown
The MoLOS-Markdown module provides two distinct document management experiences:
| Feature | Documents | Quick Notes |
|---|---|---|
| Structure | Hierarchical tree with folders | Flat, card-based grid |
| Use Case | Long-form content, wikis, documentation | Quick thoughts, checklists, reminders |
| Organization | Folders, paths, tags | Colors, labels, pinning |
| Versioning | Full version history | None |
Placeholder: Screenshot showing the hierarchical document tree with folders and pages
Navigation
The module is organized into two main sections:
Documents (/ui/MoLOS-Markdown)
Placeholder: Screenshot showing the document editor with tree navigation sidebar
- Hierarchical tree navigation with folders
- Full markdown editing with live preview
- Version control and restoration
- Templates system for quick document creation
- Full-text search across all documents
Quick Notes (/ui/MoLOS-Markdown/quick-notes)
Placeholder: Screenshot showing the Google Keep-style notes grid with colored notes
- Google Keep-style flat notes
- Checklists with interactive items
- Color coding for visual organization
- Pin important notes to the top
- Archive notes you don't need right now
Documents
Hierarchical Tree Navigation
Documents are organized in a tree structure with folders:
/
├── Documentation/
│ ├── API/
│ │ └── endpoints.md
│ └── Guides/
│ └── getting-started.md
├── Projects/
│ └── roadmap.md
└── Notes/
└── meeting-notes.md
Features:
- Nested Folders: Create unlimited folder depth
- Path-based URLs: Clean URLs like
/docs/api/endpoints - Tree Sidebar: Collapsible navigation tree
- Quick Create: Add new pages directly in folders
Version Control
Placeholder: Screenshot showing version history panel with restore options
Every document automatically tracks versions:
- Automatic Versioning: Each save creates a new version
- Version History: View all previous versions with timestamps
- Restore: Roll back to any previous version
- Unlimited History: No limit on stored versions
Use version history to recover from accidental edits or to see how a document evolved over time.
Search
Placeholder: Screenshot showing search results across documents
- Full-Text Search: Search across all document content
- Title Search: Quick search by document title
- Real-time Results: Results update as you type
- Context Snippets: See matching text in results
Templates
Create reusable templates for common document types:
- Quick Start: Pre-defined document structures
- Custom Templates: Create your own templates
- Variable Substitution: Dynamic content in templates
Tags
Organize documents with tags:
- Add multiple tags to any document
- Filter documents by tag
- Cross-folder organization
Import/Export
- Export: Download all documents as JSON
- Import: Restore from JSON backup
- Migration: Easy data portability
Quick Notes
Quick Notes provide a fast, visual way to capture thoughts—inspired by Google Keep.
Note Features
| Feature | Description |
|---|---|
| Markdown Content | Write notes in markdown format |
| Checklists | Add interactive checklist items |
| Colors | Choose background colors for visual organization |
| Labels | Add tags/labels for categorization |
| Pinning | Pin important notes to the top |
| Archiving | Archive notes (soft delete) |
Checklists
Create interactive checklists within notes:
- Toggle items between checked/unchecked
- Visual strike-through for completed items
- Perfect for to-do lists and shopping lists
Checklist items are stored separately and can be toggled independently of the note content.
Pinning & Archiving
- Pinned Notes: Always appear at the top of the grid
- Archived Notes: Hidden from main view but not deleted
- Restore: Unarchive notes to bring them back
Search & Filter
- Text Search: Search note titles and content
- Label Filter: Filter by specific labels
- Include Archived: Option to show archived notes
AI Integration
The module exposes comprehensive AI tools for the Architect Agent.
Document AI Tools
| Tool | Description |
|---|---|
get_markdown_pages | Retrieve paginated list of documents |
get_markdown_page | Get a specific document by ID |
search_markdown_pages | Search documents by title or content |
create_markdown_page | Create a new document |
update_markdown_page | Update an existing document |
delete_markdown_page | Delete a document and its children |
get_markdown_tree | Get hierarchical tree structure |
get_markdown_versions | Get version history for a document |
restore_markdown_version | Restore a document to a previous version |
Quick Notes AI Tools
| Tool | Description |
|---|---|
get_quick_notes | Retrieve notes with filtering options |
get_quick_note | Get a specific note by ID |
search_quick_notes | Search notes by title and content |
create_quick_note | Create a new note with optional checklist |
update_quick_note | Update note content, color, labels, etc. |
delete_quick_note | Archive a note (soft delete) |
pin_quick_note | Toggle pin status |
archive_quick_note | Toggle archive status |
toggle_quick_note_checklist_item | Toggle checklist item |
update_quick_note_checklist | Replace entire checklist |
- "Create a meeting note": AI creates a document with your template
- "Find my API docs": AI searches and retrieves relevant documents
- "Add milk to my shopping list": AI updates a quick note checklist
- "What did I write about React?": AI searches all documents
API Endpoints
Documents API
| Method | Endpoint | Description |
|---|---|---|
GET | /api/MoLOS-Markdown/pages | List all pages |
GET | /api/MoLOS-Markdown/pages/:id | Get specific page |
POST | /api/MoLOS-Markdown/pages | Create new page |
PUT | /api/MoLOS-Markdown/pages/:id | Update page |
DELETE | /api/MoLOS-Markdown/pages/:id | Delete page |
GET | /api/MoLOS-Markdown/tree | Get page tree |
GET | /api/MoLOS-Markdown/pages/:id/versions | Get versions |
POST | /api/MoLOS-Markdown/pages/:id/restore/:version | Restore version |
GET | /api/MoLOS-Markdown/search | Search pages |
Quick Notes API
| Method | Endpoint | Description |
|---|---|---|
GET | /api/MoLOS-Markdown/quick-notes | List all notes |
GET | /api/MoLOS-Markdown/quick-notes/:id | Get specific note |
POST | /api/MoLOS-Markdown/quick-notes | Create note |
PUT | /api/MoLOS-Markdown/quick-notes/:id | Update note |
DELETE | /api/MoLOS-Markdown/quick-notes/:id | Archive note |
POST | /api/MoLOS-Markdown/quick-notes/:id/pin | Toggle pin |
POST | /api/MoLOS-Markdown/quick-notes/:id/archive | Toggle archive |
POST | /api/MoLOS-Markdown/quick-notes/:id/checklist/:itemId/toggle | Toggle item |
Database Schema
MoLOS-Markdown_pages
| Column | Type | Description |
|---|---|---|
id | TEXT | Primary key |
title | TEXT | Page title |
content | TEXT | Markdown content |
path | TEXT | Hierarchical path (e.g., /docs/api) |
tags | JSON | Array of tags |
createdAt | INTEGER | Creation timestamp |
updatedAt | INTEGER | Last update timestamp |
MoLOS-Markdown_versions
| Column | Type | Description |
|---|---|---|
id | TEXT | Primary key |
pageId | TEXT | Foreign key to page |
content | TEXT | Content snapshot |
version | INTEGER | Version number |
createdAt | INTEGER | Version timestamp |
MoLOS-Markdown_quick_notes
| Column | Type | Description |
|---|---|---|
id | TEXT | Primary key |
title | TEXT | Note title (optional) |
content | TEXT | Markdown content |
color | TEXT | Background color code |
labels | JSON | Array of labels |
checklist | JSON | Checklist items |
isPinned | INTEGER | Pin status (0/1) |
isArchived | INTEGER | Archive status (0/1) |
createdAt | INTEGER | Creation timestamp |
updatedAt | INTEGER | Last update timestamp |
Use Cases
Personal Knowledge Base
/Documents
├── Learning/
│ ├── javascript-notes.md
│ └── react-patterns.md
├── Projects/
│ └── home-automation.md
└── Reference/
└── command-cheatsheet.md
Use Documents for structured, long-form content that benefits from organization and version history.
Quick Capture
Use Quick Notes for:
- 📝 Meeting notes and action items
- ✅ Daily task checklists
- 💡 Ideas and brain dumps
- 🛒 Shopping lists
- 📌 Pinned reference information
Quick Notes are perfect for content that doesn't need a formal structure or version history. Think of them as digital sticky notes.
Team Documentation
- Create a shared folder structure
- Use templates for consistent formatting
- Leverage version history for changes
- Tag documents by team/project
Troubleshooting
Document not appearing in tree
Problem: Created document doesn't show in navigation.
Solution:
- Check the document's path is correct
- Refresh the page to reload the tree
- Verify parent folder exists
Version restore fails
Problem: Cannot restore a previous version.
Solution:
- Ensure you have edit permissions
- Check the version number is valid
- Try creating a new document with the version content
Quick note checklist not toggling
Problem: Checklist items don't update.
Solution:
- Verify the note ID and item ID are correct
- Check for network connectivity
- Refresh the page and try again
Search not finding documents
Problem: Search doesn't return expected results.
Solution:
- Check spelling in search query
- Try broader search terms
- Verify the document exists and has content
Related Documentation
- MoLOS Modules Overview - All MoLOS modules
- Module Development Guide - Creating custom modules
- AI Integration - Building AI tools
- v1.1.0 Release Notes - Full release details
Module Version: 1.1.0
Last Updated: March 21, 2026