Skip to main content

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:

FeatureDocumentsQuick Notes
StructureHierarchical tree with foldersFlat, card-based grid
Use CaseLong-form content, wikis, documentationQuick thoughts, checklists, reminders
OrganizationFolders, paths, tagsColors, labels, pinning
VersioningFull version historyNone

Documents tree navigation Placeholder: Screenshot showing the hierarchical document tree with folders and pages

The module is organized into two main sections:

Documents (/ui/MoLOS-Markdown)

Documents interface 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)

Quick Notes grid 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

Version history 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
tip

Use version history to recover from accidental edits or to see how a document evolved over time.

Full-text 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

FeatureDescription
Markdown ContentWrite notes in markdown format
ChecklistsAdd interactive checklist items
ColorsChoose background colors for visual organization
LabelsAdd tags/labels for categorization
PinningPin important notes to the top
ArchivingArchive 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
info

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

ToolDescription
get_markdown_pagesRetrieve paginated list of documents
get_markdown_pageGet a specific document by ID
search_markdown_pagesSearch documents by title or content
create_markdown_pageCreate a new document
update_markdown_pageUpdate an existing document
delete_markdown_pageDelete a document and its children
get_markdown_treeGet hierarchical tree structure
get_markdown_versionsGet version history for a document
restore_markdown_versionRestore a document to a previous version

Quick Notes AI Tools

ToolDescription
get_quick_notesRetrieve notes with filtering options
get_quick_noteGet a specific note by ID
search_quick_notesSearch notes by title and content
create_quick_noteCreate a new note with optional checklist
update_quick_noteUpdate note content, color, labels, etc.
delete_quick_noteArchive a note (soft delete)
pin_quick_noteToggle pin status
archive_quick_noteToggle archive status
toggle_quick_note_checklist_itemToggle checklist item
update_quick_note_checklistReplace entire checklist
AI Use Cases
  • "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

MethodEndpointDescription
GET/api/MoLOS-Markdown/pagesList all pages
GET/api/MoLOS-Markdown/pages/:idGet specific page
POST/api/MoLOS-Markdown/pagesCreate new page
PUT/api/MoLOS-Markdown/pages/:idUpdate page
DELETE/api/MoLOS-Markdown/pages/:idDelete page
GET/api/MoLOS-Markdown/treeGet page tree
GET/api/MoLOS-Markdown/pages/:id/versionsGet versions
POST/api/MoLOS-Markdown/pages/:id/restore/:versionRestore version
GET/api/MoLOS-Markdown/searchSearch pages

Quick Notes API

MethodEndpointDescription
GET/api/MoLOS-Markdown/quick-notesList all notes
GET/api/MoLOS-Markdown/quick-notes/:idGet specific note
POST/api/MoLOS-Markdown/quick-notesCreate note
PUT/api/MoLOS-Markdown/quick-notes/:idUpdate note
DELETE/api/MoLOS-Markdown/quick-notes/:idArchive note
POST/api/MoLOS-Markdown/quick-notes/:id/pinToggle pin
POST/api/MoLOS-Markdown/quick-notes/:id/archiveToggle archive
POST/api/MoLOS-Markdown/quick-notes/:id/checklist/:itemId/toggleToggle item

Database Schema

MoLOS-Markdown_pages

ColumnTypeDescription
idTEXTPrimary key
titleTEXTPage title
contentTEXTMarkdown content
pathTEXTHierarchical path (e.g., /docs/api)
tagsJSONArray of tags
createdAtINTEGERCreation timestamp
updatedAtINTEGERLast update timestamp

MoLOS-Markdown_versions

ColumnTypeDescription
idTEXTPrimary key
pageIdTEXTForeign key to page
contentTEXTContent snapshot
versionINTEGERVersion number
createdAtINTEGERVersion timestamp

MoLOS-Markdown_quick_notes

ColumnTypeDescription
idTEXTPrimary key
titleTEXTNote title (optional)
contentTEXTMarkdown content
colorTEXTBackground color code
labelsJSONArray of labels
checklistJSONChecklist items
isPinnedINTEGERPin status (0/1)
isArchivedINTEGERArchive status (0/1)
createdAtINTEGERCreation timestamp
updatedAtINTEGERLast 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
note

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

  1. Create a shared folder structure
  2. Use templates for consistent formatting
  3. Leverage version history for changes
  4. Tag documents by team/project

Troubleshooting

Document not appearing in tree

Problem: Created document doesn't show in navigation.

Solution:

  1. Check the document's path is correct
  2. Refresh the page to reload the tree
  3. Verify parent folder exists

Version restore fails

Problem: Cannot restore a previous version.

Solution:

  1. Ensure you have edit permissions
  2. Check the version number is valid
  3. Try creating a new document with the version content

Quick note checklist not toggling

Problem: Checklist items don't update.

Solution:

  1. Verify the note ID and item ID are correct
  2. Check for network connectivity
  3. Refresh the page and try again

Search not finding documents

Problem: Search doesn't return expected results.

Solution:

  1. Check spelling in search query
  2. Try broader search terms
  3. Verify the document exists and has content


Module Version: 1.1.0
Last Updated: March 21, 2026