Skip to content

Commit 10669b0

Browse files
committed
Refactor markdown preview: extract core library, modernize UI (#1132)
- Add `markdown_preview_core` crate: modular library for markdown rendering, TOC generation, document stats, file watching, and embedded web assets - Add `frecency` crate: frecency-based scoring algorithm, extracted from inline logic in `maple_core::recent_files` - Refactor `maple_markdown` from a monolith with inline HTML/CSS/JS into a thin WebSocket server that delegates to `markdown_preview_core` - Modernize preview web UI: replace single-file app.js with modular JS/CSS (core, tooltips, fuzzy-finder search, diff overlay, presentation mode)
1 parent 3cc1ff9 commit 10669b0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+8757
-2531
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ __pycache__
1111
/doc/tags
1212
target
1313
/bin
14+
# Auto-generated frontend files (built from markdown_preview_core/js sources)
15+
maple_desk/frontend/index.html
1416
testdata.txt
1517
publish.sh
1618
crates/Cargo.lock

0 commit comments

Comments
 (0)