Skip to content

Commit 0a73769

Browse files
authored
Merge pull request #29 from typelets/feature/mermaid-diagrams
Adds Mermaid.js diagram support with Monaco editor, live preview, and export tools. Includes 6 templates, zoom/pan controls, theme-aware rendering, and clipboard/file export. New "Diagrams" filter in notes panel with visual indicators. Backward compatible - adds optional `type?: 'note' | 'diagram'` to Note interface. Mobile: Simplified architecture by removing offline-first complexity (15+ files), refactored screen structure for better maintainability.
2 parents b98a482 + 8424cf6 commit 0a73769

File tree

13 files changed

+2303
-21
lines changed

13 files changed

+2303
-21
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
"highlight.js": "^11.11.1",
9595
"lowlight": "^3.3.0",
9696
"lucide-react": "^0.544.0",
97+
"mermaid": "^11.12.1",
9798
"monaco-editor": "^0.53.0",
9899
"react": "^19.1.1",
99100
"react-dom": "^19.1.1",

pnpm-lock.yaml

Lines changed: 965 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)