alist-web
alist-web copied to clipboard
fix: base path for relative path in markdown
fix https://github.com/alist-org/alist/issues/6419
改动如下
- Markdown 预览组件 解析 相对路径 时 加上
base_path
- 新增
pathResolve
工具函数,将类似./a
../a
a/../b
的路径转成绝对路径