packages/plugin-dev/sync-md/README.md
A SuperProductivity plugin that enables bidirectional synchronization between markdown files and project tasks.
# Install dependencies
npm install
# Development mode with hot reload
npm run dev:watch
# Build for production
npm run build
# Package as plugin
npm run package
src/fileWatcherBatch.ts - Main sync engine with batch API supportsrc/background.ts - Plugin lifecycle and message handlingsrc/App.tsx - Solid.js UI for configurationsrc/utils/ - Reusable utilities (parser, debouncer, file ops)build-proper.js - Main build scriptbuild-plugin.js - Package as distributable ZIPwatch-and-build.js - Development with auto-rebuild{
projectId: "project-uuid",
filePath: "/path/to/tasks.md",
syncDirection: "fileToProject" | "projectToFile" | "bidirectional"
}
- [ ] Parent task
- [x] <!-- sp:task-id --> Completed subtask
- [ ] Pending subtask
Tasks are linked using HTML comments containing unique IDs.
# Run all tests
npm test
# Watch mode
npm run test:watch
# Coverage report
npm run test:coverage
To remove old/unnecessary files after updating:
chmod +x cleanup.sh
./cleanup.sh