Install into a folder outside of my OneDrive sync folder as I don’t want thousands of node_modules
files syncing unnecessarily:
Start the Quartz setup process:
When it asks about the content folder, select “symlink” and enter the full path to the Obsidian sub-folder you want to publish. This does live in my OneDrive.
Create an Obsidian note or two in the chosen subfolder (in my case til
) while running the Quartz watcher.
As you work on the note in Obsidian, your browser attached to http://localhost:8080/ will automatically refresh with the published note.
When happy, do a final build and then sync the public
folder to your web hoster. In my case, that’s:
Why do links to notes fail with 404?
Quartz produces .html
files for each note, but it assumes that your web-server will automatically add the .html
extension. To make this happen, I had to add the $uri.html
to the existing try_files
line in my nginx configuration, as per this github comment