重构:文件系统模块化架构,增强 Markdown 渲染
- 拆分 FileSystem.vue 为模块化组件架构 - 新增 Markdown Mermaid 图表渲染支持 - 新增 180+ 编程语言代码高亮 - 修复编辑/预览模式切换渲染问题 - 优化亮色/暗色模式主题适配 - 新增 TypeScript 类型定义
This commit is contained in:
5
app.go
5
app.go
@@ -692,6 +692,11 @@ func (a *App) GetFileServerURL() string {
|
||||
return "http://localhost:18765"
|
||||
}
|
||||
|
||||
// DetectFileTypeByContent 通过文件内容检测文件类型(用于小文件)
|
||||
func (a *App) DetectFileTypeByContent(path string) (map[string]interface{}, error) {
|
||||
return filesystem.DetectFileTypeByContentSimple(path)
|
||||
}
|
||||
|
||||
// ========== 回收站接口 ==========
|
||||
|
||||
// GetRecycleBinEntries 获取回收站条目
|
||||
|
||||
Reference in New Issue
Block a user