
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-md-viewer
Advanced tools
DSH web plugin: render Markdown (.md) files with a rich preview (tables, badges, code) inside the dsh-better-sidebar sidebar.
把 Markdown(.md / .markdown)文件在 dsh-better-sidebar 的布局融合侧边栏里以富渲染预览打开——标题、表格、代码块、徽章图片、剥离 HTML 注释,不浮层、不遮挡会话、小屏友好、宽度可拖拽。
与 dsh-better-sidebar 内置的 Markdown 编辑器不同,本插件提供的是开箱即用的渲染预览:点开即是排版好的文档,无需切换预览模式。
<img>→图片、<a>→链接、<br>、<!-- 注释 --> 剥离、HTML 实体反转义innerHTML、不执行内嵌 HTML.md → 直接进侧边栏预览registerFileViewer 服务,作为"文件预览器"注册(exts: md/markdown)⚠️ 本插件依赖 dsh-better-sidebar(通过它的
ctx.betterSidebar服务注册文件预览器)。不装 better-sidebar 则本插件不生效(安全 no-op)。 不需要 better-sidebar? 用独立的dsh-md-overlay(浮层预览,不依赖 better-sidebar)。
前置:DSH(dsh web 可运行)、已装 dsh-better-sidebar(dsh plugin --profile web add dsh-better-sidebar@latest)。
dsh plugin --profile web add dsh-md-viewer@latest
装完硬刷新浏览器(Cmd/Ctrl+Shift+R)。之后在 dsh-better-sidebar 里打开任意 .md 文件即可看到渲染预览。
package.json 的 dsh.client.platform: "web" + exports["./client"] 让 DSH 客户端模块系统加载 lib/client.js。lib/client.js 的 apply() 调用 ctx.betterSidebar.registerFileViewer({ exts: ["md","markdown"], fetchStrategy: "fsRead", component }),把 .md 打开行为接管为富渲染预览。openPath → 被 dsh-better-sidebar 拦截 → 用本查看器渲染。仓库结构与 DSH 官方插件规范一致:单 npm 包、双 client bundle(__ModuleLoader__.load),运行期不依赖 npm / checkout。
# 本地安装(file: 链接)
cd ~/.dsh/profiles/web
npm install --save file:D:/DSH/dsh-md-viewer # 或你的实际路径
# 在 package.json 的 dsh.profile.bundles 追加 "dsh-md-viewer"
props.path 重写 src);dsh-md-overlay,支持任务清单/嵌套列表/停靠面板)。见 PUBLISHING.md(npm 发布 + dshfind 插件超市收录的完整流程)。
MIT
FAQs
DSH web plugin: render Markdown (.md) files with a rich preview (tables, badges, code) inside the dsh-better-sidebar sidebar.
The npm package dsh-md-viewer receives a total of 19 weekly downloads. As such, dsh-md-viewer popularity was classified as not popular.
We found that dsh-md-viewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.