anitman/dsh-plugin-md-preview

anitman★ 0JavaScriptLast synced: 2026-08-16

Open on GitHub

DSH Markdown 预览器 / DSH Markdown Previewer — web GUI 侧栏 Markdown 浏览、渲染与编辑保存(原子写入 + mtime 冲突检测)

README excerpt

English       简体中文 DSH Markdown Previewer / DSH Markdown 预览器 DSH web GUI client plugin: sidebar Markdown preview — browse, render, edit & save. DSH web GUI 客户端插件:侧栏 Markdown 预览 —— 浏览、渲染、编辑与保存。 English A client plugin for the DSH web GUI: adds an "MD preview" button at the bottom of the sidebar. Clicking it opens a floating preview window where you can browse, render, and edit & save Markdown files. Features - Directory browsing: lists subdirectories and .md files; enter a directory / open a file by clicking, .. to go up; - Dual view — rendered / source (built-in zero-dependency Markdown renderer: headings, lists, tables, code blocks, quotes, links, inline styles); - Editable source view : save via the "Save" button or Ctrl/Cmd+S ; unsaved changes are flagged in the title bar; switching files / closing the window asks for confirmation; - Save with mtime conflict detection : if the file changed on disk in the meantime, you get a 409 prompt to refresh instead of a silent overwrite; - Path input: type any absolute path (directory or .md file) and press Enter to jump; - Custom backdrop : solid color, local image (auto canvas-compressed above 1.5 MB) or local vide…

View full README on GitHub →
Tools / Devdsh-pluginsidebar

Category