hexo迁移(win2mac)
hexo迁移到mac电脑
使用安装教程为mac安装homebrew:
注意添加brew到系统路径
1 |
|
安装node.js和git
1 |
|
安装hexo
1 |
|
从git上将过往博客clone到本地
在原来的电脑上创建hexo分支,并将全部文件夹都上传上去
在新电脑上配置git ssh
1 |
|
hexo初始化
1 |
|
obsidian 和hexo连用
https://itreefly.com/posts/e5113722.html
obsidian将“文件与链接”中“使用wiki链接“关闭
使用obsidian打开_posts作为仓库,并安装Custom Attachment Location插件
设置Location for new attachment为:
./${filename}
并将rename attachment files打开
将修改后的文件推送到git
1 |
|
hexo迁移(win2mac)
https://xuan-98-l.github.io/2024/05/27/hexo迁移/