Getting Started with Quartz
Quartz is a powerful static site generator designed specifically for creating digital gardens from your markdown notes. Here’s everything you need to know to get started!
What is Quartz?
Quartz v4 is a set of tools that helps you publish your digital garden and notes as a website. For those coming from Obsidian, it’s like a free, open-source alternative to Obsidian Publish.
Key Features
- 🔗 Bidirectional Links: Create connections between your notes with
[[wiki-links]]
- 🔍 Full-text Search: Find content across your entire garden
- 📱 Mobile Responsive: Looks great on all devices
- ⚡ Fast Loading: Static site generation for optimal performance
- 🎨 Customizable: Themes, layouts, and components you can modify
- 📊 Graph View: Visualize connections between your notes
Installation
- Prerequisites: Node.js (v18+) and Git
- Clone:
git clone https://github.com/jackyzha0/quartz.git
- Install:
npm install
- Create:
npx quartz create
- Build & Serve:
npx quartz build --serve
Writing Content
Basic Markdown
All standard markdown syntax works:
- Headers with
#
- Bold and italic text
- Lists and checkboxes
- Code blocks and inline
code
Wiki Links
Link to other pages using double brackets:
[[Page Name]]
- links to “Page Name.md”[[Page Name|Custom Text]]
- custom link text[[folder/Page Name]]
- link to pages in subfolders
Tags
Use tags to categorize your content:
---
tags:
- productivity
- note-taking
- digital-garden
---
Next Steps
- Explore Digital Gardening Philosophy
- Learn Markdown Tips and Tricks
- Check out the official documentation
Useful Commands
npx quartz build
- Build your sitenpx quartz build --serve
- Build and serve locallynpx quartz sync
- Sync content changesnpx quartz update
- Update Quartz to latest version
Happy gardening! 🌱