本章节是最开始篇章,本地的content如何更新到网上https://vluoshen.pages.dev/

命令版本:
cd D:\Obsidian\Quartz\quartz
npx quartz sync

但是为了方便
装 Obsidian 社区插件 Shell Commands:

  1. 设置 → 第三方插件 → 搜索 Shell Commands → 安装启用
  2. 插件设置 → New shell command
  3. 命令填 npx quartz sync
  4. 工作目录填 D:\Obsidian\Quartz\quartz

配好后按 Ctrl+P 搜”发布”就能执行,不用再开终端。

顺手解决了文件名乱码

那条看着难受的话,跑这个:

git config --global core.quotepath false

以后 Git 就会正常显示中文文件名了。