From 9728fb7b6ecf8a0aa71596b56dc71ca87f08a60c Mon Sep 17 00:00:00 2001 From: thzxx <1440196015@qq.com> Date: Fri, 24 Jul 2026 17:33:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(site):=20demo.html=20full-feature=20showca?= =?UTF-8?q?se=20=E2=80=94=20all=20v0.1.14=20capabilities=20enabled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Demo now demonstrates: - Syntax highlighting editor (toggle via 🎨 高亮 button) - Line numbers with current line highlight - Zen mode (🧘 button) - Outline panel (📋 toggle) - Word wrap toggle (↩ button) - All 6 plugins: autoSave, exportTool, searchReplace, imagePaste, shortcutHelp, fileSystem - Disk file open/save (📂 💾 buttons via File System Access API) - Toast notifications (💬 button) - Theme/locale switching - Mode switching (edit/split/preview) - Preview link interception (onLinkClick) - Mermaid diagram example - Mathematical formulas, footnotes, nested lists, task lists - Custom shortcut Ctrl+Shift+T - File open/save event listeners with toast feedback --- site/demo.html | 674 +++++++++++++++---------------------------------- 1 file changed, 210 insertions(+), 464 deletions(-) diff --git a/site/demo.html b/site/demo.html index 3f2b136..27ef551 100644 --- a/site/demo.html +++ b/site/demo.html @@ -4,196 +4,42 @@ -