Getting Started
Installation
Basic Usage
Extract a Document
Convert a Word document to sidedoc format:
View the Content
The sidedoc contains clean markdown that AI can efficiently read:
Rebuild the Document
Reconstruct the Word document with formatting intact:
Sync After Editing
After editing content.md, sync changes back:
CLI Commands
| Command | Description |
|---|---|
sidedoc extract <docx> |
Create sidedoc from docx |
sidedoc build <sidedoc> |
Generate docx from sidedoc |
sidedoc sync <sidedoc> |
Sync edited content back to docx |
sidedoc validate <sidedoc> |
Check sidedoc integrity |
sidedoc diff <sidedoc> |
Show changes since last sync |
sidedoc info <sidedoc> |
Display sidedoc metadata |
Example Workflow
# 1. Start with a formatted Word document
ls
# quarterly_report.docx
# 2. Extract for AI processing
sidedoc extract quarterly_report.docx
# Created: quarterly_report.sidedoc
# 3. AI reads and edits the markdown content
# ... AI adds sections, modifies text ...
# 4. Sync changes back
sidedoc sync quarterly_report.sidedoc
# Synced: 3 blocks modified, 1 block added
# 5. Rebuild for human consumption
sidedoc build quarterly_report.sidedoc -o quarterly_report_updated.docx
# Created: quarterly_report_updated.docx
# 6. Open in Word - formatting preserved, content updated