gitGraph:
    commit "Ashish"
    branch newbranch
    checkout newbranch
    commit id:"1111"
    commit tag:"test"
    checkout main
    commit type: HIGHLIGHT
    commit
    merge newbranch
    commit
    branch b2
    commit

1

初始化仓库

git clone https://github.com/jackyzha0/quartz.git
cd quartz
npm i
npx quartz create

2

此页面参考了Quartz的文档 Quartz中的所有内容都应放在/content文件夹中, Quartz主页的内容位于content/index.md

3

npx quartz build --serve

4

rm -rf .git
git init 
git add .
git commit -m "init"

将仓库上传到自己的github账号里。

上传到 GitHub Pages 和 Vercel

https://quartz.jzhao.xyz/hosting