Skip to content

Conversation

@xrgzs
Copy link
Contributor

@xrgzs xrgzs commented May 5, 2025

  • 优化 Markdown 预览器性能

  • 撤销 PR feat: markdown mermaid support #214 中引入的 Mermaid 支持功能,防止全局加载 Mermaid JS 脚本,减少对 npmmirror 流量的不必要消耗

    • 可通过设置->全局->自定义中定义函数 onMDRender 引入
    • 为 onMDRender 函数增加 Markdown 内容传参,方便获取内容
    • 减少 md() 执行次数

@netlify
Copy link

netlify bot commented May 5, 2025

Deploy Preview for alist-web ready!

Name Link
🔨 Latest commit 7b02866
🔍 Latest deploy log https://app.netlify.com/sites/alist-web/deploys/68180c63b51d900008d67763
😎 Deploy Preview https://deploy-preview-279--alist-web.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

默认配置 txt 预览问题

1 participant