Commit 10669b0
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
File tree
44 files changed
+8757
-2531
lines changed- crates
- frecency
- src
- maple_core
- src
- stdio_server
- plugin
- provider/impls
- maple_markdown
- js
- src
- markdown_preview_core
- js
- src
- common
- render
- vim_plugin
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| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
0 commit comments