Skip to content

Commit

Permalink
feat: #16 #18 修复路径问题,删除无法点击的链接
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed May 18, 2023
1 parent e0b93eb commit b720f29
Show file tree
Hide file tree
Showing 8 changed files with 143 additions and 2,112 deletions.
14 changes: 14 additions & 0 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@

## 更新历史

**v1.4.0 主要更新**

总之,这个版本强烈建议所有用户升级,防止之前的路径问题导致资源文件无法跨平台,同时在其他方面也有更好的用户体验。

- 修复 Windows 路径替换未生效问题
例如,转换后的路径:C:\Users\terwer\Documents\mydocs\SiyuanWorkspace\public\data/assets/import/cover.jpeg
现在,在Windows平台,可正常显示为:/assets/import/cover.jpeg

- 路径新增hash,防止多个文件有相同图片时候,图片被覆盖,例如:/assets/import/1nMELS/cover.jpeg

- pandoc生成的目录链接不可点击,暂时去掉

- pandoc脚注不能跳转,暂时去掉保持标题清爽

**v1.3.0 主要更新**

- 支持图片导入
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@terwer/eslint-config-custom": "^1.2.0",
"@terwer/vite-config-custom": "^0.6.0",
"@tsconfig/svelte": "^4.0.1",
"@types/node": "16",
"glob": "^7.2.3",
"minimist": "^1.2.8",
"rollup-plugin-livereload": "^2.0.5",
Expand All @@ -31,6 +32,10 @@
"svelte": "^3.57.0",
"ts-node": "^10.9.1",
"vite": "^4.3.7",
"vite-plugin-static-copy": "^0.15.0"
"vite-plugin-static-copy": "^0.15.0",
"vitest": "^0.31.1"
},
"dependencies": {
"shorthash2": "^1.0.3"
}
}
Loading

0 comments on commit b720f29

Please sign in to comment.