2.1 KiB
2.1 KiB
Quartz is a static site generator that is specifically for markdown files. This can be quite fast and there is a bunch of documentation written about this already.
Something to consider as an alternative to Digital Garden plugins. It seems to be more robust as well. Originally found via this reddit post.
- Quartz Showcase
- discovered originally by this user who made his personal site through quartz & obsidian
- Quartz made by the person himself! A wonderful blog and website
- This is a pretty nice guide on how to use Quartz to publish to Github Pages
- For what it's worth there also seems to be Quartz Publish as a plugin
- this was used in the share notes site
Guide to connect Quartz with Web Host:
Deploy to Vercel
- Log in to the Vercel Dashboard and click “Add New…” > Project
- Import the Git repository containing your Quartz project.
- Give the project a name (lowercase characters and hyphens only)
- Check that these configuration options are set:
Configuration option | Value |
---|---|
Framework Preset | Other |
Root Directory | ./ |
Build and Output Settings > Build Command | npx quartz build |
- Press Deploy. Once it’s live, you’ll have 2
*.vercel.app
URLs to view the page
Netlify
- Log in to the Netlify dashboard and click “Add new site”.
- Select your Git provider and repository containing your Quartz project.
- Under “Build command”, enter
npx quartz build
. - Under “Publish directory”, enter
public
. - Press Deploy. Once it’s live, you’ll have a
*.netlify.app
URL to view the page. - To add a custom domain, check “Domain management” in the left sidebar, just like with Vercel.