diff --git a/404.html b/404.html index 47c0baffb..cf2b21ad8 100644 --- a/404.html +++ b/404.html @@ -8,7 +8,7 @@ - diff --git a/categories/index.html b/categories/index.html index ed2f8695b..db53313e8 100644 --- a/categories/index.html +++ b/categories/index.html @@ -8,9 +8,10 @@ - -

πŸͺ΄ Quartz 3.2

Search

Search IconIcon to open search
-

All Categories

\ No newline at end of file +
+

πŸͺ΄ Quartz 3.2

Search

Search IconIcon to open search
+

All Categories

\ No newline at end of file diff --git a/index.html b/index.html index 22f5f13a6..0c37c57e7 100644 --- a/index.html +++ b/index.html @@ -8,13 +8,15 @@ - -

πŸͺ΄ Quartz 3.2

Search

Search IconIcon to open search
+
+

πŸͺ΄ Quartz 3.2

Search

Search IconIcon to open search

Host your second brain and -digital garden for free. Quartz features

  1. Extremely fast full-text search by pressing Ctrl + k
  2. Customizable and hackable design based on Hugo
  3. Automatically generated backlinks, link previews, and local graph
  4. Built-in CJK + Latex Support and Admonition-style callouts
  5. Support for both Markdown Links and Wikilinks

Check out some of the +digital garden for free. Quartz features

  1. Extremely fast natural-language search
  2. Customizable and hackable design based on +Hugo
  3. Automatically generated backlinks, link previews, and local graph
  4. Built-in CJK + Latex Support and Admonition-style callouts
  5. Support for both Markdown Links and Wikilinks

Check out some of the amazing gardens that community members have published with Quartz or read about why I made Quartz to begin with.

# Get Started

πŸ“š Step 1: Setup your own digital garden using Quartz

Returning user? Figure out how to update your existing Quartz garden.

If you prefer browsing the contents of this site through a list instead of a graph, you see a list of all diff --git a/index.xml b/index.xml index 51e9b0d0b..8ef15f10c 100644 --- a/index.xml +++ b/index.xml @@ -5,6 +5,7 @@ This includes μš°λ¦¬κ°€ 그것을 μ•ŒκΈ°λ„ 전에 μš°λ¦¬λŠ” 땅을 λ– λ‚¬μŠ΅λ‹ˆλ‹€. η§γŸγ‘γŒγγ‚Œγ‚’ηŸ₯γ‚‹γ»γΌε‰γ«γ€η§γŸγ‘γ―εœ°ι’γ‚’ι›’γ‚Œγ¦γ„γΎγ—γŸγ€‚ Latex Block math works with two dollar signs $$.Configurationhttps://quartz.jzhao.xyz/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/config/Configuration Quartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you&rsquo;d like to get.Custom Domainhttps://quartz.jzhao.xyz/notes/custom-Domain/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/custom-Domain/Registrar This step is only applicable if you are using a custom domain! If you are using a &lt;YOUR-USERNAME&gt;.github.io domain, you can skip this step.Ignoring Noteshttps://quartz.jzhao.xyz/notes/ignore-notes/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/ignore-notes/Quartz Ignore Edit ignoreFiles in config.toml to include paths you&rsquo;d like to exclude from being rendered. -1 2 3 4 5 6 .Quartz Philosophyhttps://quartz.jzhao.xyz/notes/philosophy/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/philosophy/β€œ[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.Showcasehttps://quartz.jzhao.xyz/notes/showcase/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/showcase/Want to see what Quartz can do? Here are some cool community gardens :) +1 2 3 4 5 6 .Quartz Philosophyhttps://quartz.jzhao.xyz/notes/philosophy/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/philosophy/β€œ[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.Searchhttps://quartz.jzhao.xyz/notes/search/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/search/Quartz supports two modes of searching through content. +Full-text Full-text search is the default in Quartz. It produces results that exactly match the search query.Showcasehttps://quartz.jzhao.xyz/notes/showcase/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/showcase/Want to see what Quartz can do? Here are some cool community gardens :) Quartz Documentation (this site!) Jacky Zhao&rsquo;s Garden Scaling Synthesis - A hypertext research notebook AWAGMI Intern Notes Shihyu&rsquo;s PKM Chloe&rsquo;s Garden SlRvb&rsquo;s Site Course notes for Information Technology Advanced Theory Brandon Boswell&rsquo;s Garden Siyang&rsquo;s Courtyard If you want to see your own on here, submit a Pull Request adding yourself to this file!Troubleshooting and FAQhttps://quartz.jzhao.xyz/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/troubleshooting/Still having trouble? Here are a list of common questions and problems people encounter when installing Quartz. While you&rsquo;re here, join our Discord :)Updatinghttps://quartz.jzhao.xyz/notes/updating/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/updating/Haven&rsquo;t updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! \ No newline at end of file diff --git a/indices/contentIndex.399b37fb8f71051546679b5c03c37f0a.min.json b/indices/contentIndex.399b37fb8f71051546679b5c03c37f0a.min.json deleted file mode 100644 index f9c440676..000000000 --- a/indices/contentIndex.399b37fb8f71051546679b5c03c37f0a.min.json +++ /dev/null @@ -1 +0,0 @@ -{"/":{"title":"πŸͺ΄ Quartz 3.2","content":"\nHost your second brain and [digital garden](https://jzhao.xyz/posts/networked-thought) for free. Quartz features\n\n1. Extremely fast full-text search by pressing `Ctrl` + `k`\n2. Customizable and hackable design based on Hugo\n3. Automatically generated backlinks, link previews, and local graph\n4. Built-in [[notes/CJK + Latex Support (ζ΅‹θ―•) | CJK + Latex Support]] and [[notes/callouts | Admonition-style callouts]]\n5. Support for both Markdown Links and Wikilinks\n\nCheck out some of the [amazing gardens that community members](notes/showcase.md) have published with Quartz or read about [why I made Quartz](notes/philosophy.md) to begin with.\n\n## Get Started\n\u003e πŸ“š Step 1: [Setup your own digital garden using Quartz](notes/setup.md)\n\nReturning user? Figure out how to [[notes/updating|update]] your existing Quartz garden.\n\nIf you prefer browsing the contents of this site through a list instead of a graph, you see a list of all [setup-related notes](/tags/setup).\n\n### Troubleshooting\n- 🚧 [Troubleshooting and FAQ](notes/troubleshooting.md)\n- πŸ› [Submit an Issue](https://github.com/jackyzha0/quartz/issues)\n- πŸ‘€ [Discord Community](https://discord.gg/cRFFHYye7t)\n\n","lastmodified":"2022-07-31T23:56:07.429554755Z","tags":null},"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95":{"title":"CJK + Latex Support (ζ΅‹θ―•)","content":"\n## Chinese, Japanese, Korean Support\nε‡ δΉŽεœ¨ζˆ‘δ»¬ζ„θ―†εˆ°δΉ‹ε‰οΌŒζˆ‘δ»¬ε·²η»η¦»εΌ€δΊ†εœ°ι’γ€‚\n\nμš°λ¦¬κ°€ 그것을 μ•ŒκΈ°λ„ 전에 μš°λ¦¬λŠ” 땅을 λ– λ‚¬μŠ΅λ‹ˆλ‹€.\n\nη§γŸγ‘γŒγγ‚Œγ‚’ηŸ₯γ‚‹γ»γΌε‰γ«γ€η§γŸγ‘γ―εœ°ι’γ‚’ι›’γ‚Œγ¦γ„γΎγ—γŸγ€‚\n\n## Latex\n\nBlock math works with two dollar signs `$$...$$`\n\n$$f(x) = \\int_{-\\infty}^\\infty\n f\\hat(\\xi),e^{2 \\pi i \\xi x}\n \\,d\\xi$$\n\t\nInline math also works with single dollar signs `$...$`. For example, Euler's identity but inline: $e^{i\\pi} = 0$\n\nAligned equations work quite well:\n\n$$\n\\begin{aligned}\na \u0026= b + c \\\\ \u0026= e + f \\\\\n\\end{aligned}\n$$\n\nAnd matrices\n\n$$\n\\begin{bmatrix}\n1 \u0026 2 \u0026 3 \\\\\na \u0026 b \u0026 c\n\\end{bmatrix}\n$$\n\n## RTL\nMore information on configuring RTL languages like Arabic in the [config](notes/config.md) page.\n","lastmodified":"2022-07-31T23:56:07.429554755Z","tags":null},"/notes/callouts":{"title":"Callouts","content":"\n## Callout support\n\nQuartz supports the same Admonition-callout syntax as Obsidian.\n\nThis includes\n- 12 Distinct callout types (each with several aliases)\n- Collapsable callouts\n\nSee [documentation on supported types and syntax here](https://help.obsidian.md/How+to/Use+callouts#Types).\n\n## Showcase\n\n\u003e [!example] Examples\n\u003e\n\u003e Aliases: example\n\n\u003e [!note] Notes\n\u003e\n\u003e Aliases: note\n\n\u003e [!abstract] Summaries \n\u003e\n\u003e Aliases: abstract, summary, tldr\n\n\u003e [!info] Info \n\u003e\n\u003e Aliases: info, todo\n\n\u003e [!tip] Hint \n\u003e\n\u003e Aliases: tip, hint, important\n\n\u003e [!success] Success \n\u003e\n\u003e Aliases: success, check, done\n\n\u003e [!question] Question \n\u003e\n\u003e Aliases: question, help, faq\n\n\u003e [!warning] Warning \n\u003e\n\u003e Aliases: warning, caution, attention\n\n\u003e [!failure] Failure \n\u003e\n\u003e Aliases: failure, fail, missing\n\n\u003e [!danger] Error\n\u003e\n\u003e Aliases: danger, error\n\n\u003e [!bug] Bug\n\u003e\n\u003e Aliases: bug\n\n\u003e [!quote] Quote\n\u003e\n\u003e Aliases: quote, cite\n","lastmodified":"2022-07-31T23:56:07.429554755Z","tags":null},"/notes/config":{"title":"Configuration","content":"\n## Configuration\nQuartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you'd like to get.\n\nThe majority of configuration can be found under `data/config.yaml`. An annotated example configuration is shown below.\n\n```yaml {title=\"data/config.yaml\"}\n# The name to display in the footer\nname: Jacky Zhao\n\n# whether to globally show the table of contents on each page\n# this can be turned off on a per-page basis by adding this to the\n# front-matter of that note\nenableToc: true\n\n# whether to by-default open or close the table of contents on each page\nopenToc: false\n\n# whether to display on-hover link preview cards\nenableLinkPreview: true\n\n# whether to render titles for code blocks\nenableCodeBlockTitle: true \n\n# whether to render copy buttons for code blocks\nenableCodeBlockCopy: true \n\n# whether to render callouts\nenableCallouts: true\n\n# whether to try to process Latex\nenableLatex: true\n\n# whether to enable single-page-app style rendering\n# this prevents flashes of unstyled content and improves\n# smoothness of Quartz. More info in issue #109 on GitHub\nenableSPA: true\n\n# whether to render a footer\nenableFooter: true\n\n# whether backlinks of pages should show the context in which\n# they were mentioned\nenableContextualBacklinks: true\n\n# whether to show a section of recent notes on the home page\nenableRecentNotes: false\n\n# whether to display and 'edit' button next to the last edited field\n# that links to github\nenableGitHubEdit: true\nGitHubLink: https://github.com/jackyzha0/quartz/tree/hugo/content\n\n# whether to use Operand to power semantic search\nenableSemanticSearch: true\noperandApiKey: \"1e47d93b-1468-45b7-98d5-7f733d5e45e2\"\n\n# page description used for SEO\ndescription:\n Host your second brain and digital garden for free. Quartz features extremely fast full-text search,\n Wikilink support, backlinks, local graph, tags, and link previews.\n\n# title of the home page (also for SEO)\npage_title:\n \"πŸͺ΄ Quartz 3.2\"\n\n# links to show in the footer\nlinks:\n - link_name: Twitter\n link: https://twitter.com/_jzhao\n - link_name: Github\n link: https://github.com/jackyzha0\n```\n\n### Code Block Titles\n\nTo add code block titles with Quartz:\n\n1. Ensure that code block titles are enabled in Quartz's configuration:\n\n ```yaml {title=\"data/config.yaml\", linenos=false}\n enableCodeBlockTitle: true\n ```\n\n2. Add the `title` attribute to the desired [code block\n fence](https://gohugo.io/content-management/syntax-highlighting/#highlighting-in-code-fences):\n\n ```markdown {linenos=false}\n ```yaml {title=\"data/config.yaml\"}\n enableCodeBlockTitle: true # example from step 1\n ```\n ```\n\n**Note** that if `{title=\u003cmy-title\u003e}` is included, and code block titles are not\nenabled, no errors will occur, and the title attribute will be ignored.\n\n### HTML Favicons\nIf you would like to customize the favicons of your Quartz-based website, you \ncan add them to the `data/config.yaml` file. The **default** without any set \n`favicon` key is:\n\n```html {title=\"layouts/partials/head.html\", linenostart=15}\n\u003clink rel=\"shortcut icon\" href=\"icon.png\" type=\"image/png\"\u003e\n```\n\nThe default can be overridden by defining a value to the `favicon` key in your \n`data/config.yaml` file. For example, here is a `List[Dictionary]` example format, which is\nequivalent to the default:\n\n```yaml {title=\"data/config.yaml\", linenos=false}\nfavicon:\n - { rel: \"shortcut icon\", href: \"icon.png\", type: \"image/png\" }\n# - { ... } # Repeat for each additional favicon you want to add\n```\n\nIn this format, the keys are identical to their HTML representations.\n\nIf you plan to add multiple favicons generated by a website (see list below), it\nmay be easier to define it as HTML. Here is an example which appends the \n**Apple touch icon** to Quartz's default favicon:\n\n```yaml {title=\"data/config.yaml\", linenos=false}\nfavicon: |\n \u003clink rel=\"shortcut icon\" href=\"icon.png\" type=\"image/png\"\u003e\n \u003clink rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\"\u003e\n```\n\nThis second favicon will now be used as a web page icon when someone adds your \nwebpage to the home screen of their Apple device. If you are interested in more \ninformation about the current and past standards of favicons, you can read \n[this article](https://www.emergeinteractive.com/insights/detail/the-essentials-of-favicons/).\n\n**Note** that all generated favicon paths, defined by the `href` \nattribute, are relative to the `static/` directory.\n\n### Graph View\nTo customize the Interactive Graph view, you can poke around `data/graphConfig.yaml`.\n\n\n```yaml {title=\"data/graphConfig.yaml\"}\n# if true, a Global Graph will be shown on home page with full width, no backlink.\n# A different set of Local Graphs will be shown on sub pages.\n# if false, Local Graph will be default on every page as usual\nenableGlobalGraph: false\n\n### Local Graph ###\nlocalGraph:\n # whether automatically generate a legend\n enableLegend: false\n \n # whether to allow dragging nodes in the graph\n enableDrag: true\n \n # whether to allow zooming and panning the graph\n enableZoom: true\n \n # how many neighbours of the current node to show (-1 is all nodes)\n depth: 1\n \n # initial zoom factor of the graph\n scale: 1.2\n \n # how strongly nodes should repel each other\n repelForce: 2\n\n # how strongly should nodes be attracted to the center of gravity\n centerForce: 1\n\n # what the default link length should be\n linkDistance: 1\n \n # how big the node labels should be\n fontSize: 0.6\n \n # scale at which to start fading the labes on nodes\n opacityScale: 3\n\n### Global Graph ###\nglobalGraph:\n\t# same settings as above\n\n### For all graphs ###\n# colour specific nodes path off of their path\npaths:\n - /moc: \"#4388cc\"\n```\n\n\n## Styling\nWant to go even more in-depth? You can add custom CSS styling and change existing colours through editing `assets/styles/custom.scss`. If you'd like to target specific parts of the site, you can add ids and classes to the HTML partials in `/layouts/partials`. \n\n### Partials\nPartials are what dictate what gets rendered to the page. Want to change how pages are styled and structured? You can edit the appropriate layout in `/layouts`.\n\nFor example, the structure of the home page can be edited through `/layouts/index.html`. To customize the footer, you can edit `/layouts/partials/footer.html`\n\nMore info about partials on [Hugo's website.](https://gohugo.io/templates/partials/)\n\nStill having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n\n## Language Support\n[CJK + Latex Support (ζ΅‹θ―•)](notes/CJK%20+%20Latex%20Support%20(ζ΅‹θ―•).md) comes out of the box with Quartz.\n\nWant to support languages that read from right-to-left (like Arabic)? Hugo (and by proxy, Quartz) supports this natively.\n\nFollow the steps [Hugo provides here](https://gohugo.io/content-management/multilingual/#configure-languages) and modify your `config.toml`\n\nFor example:\n\n```toml\ndefaultContentLanguage = 'ar'\n[languages]\n [languages.ar]\n languagedirection = 'rtl'\n title = 'Ω…Ψ―ΩˆΩ†Ψͺي'\n weight = 1\n```\n","lastmodified":"2022-07-31T23:56:07.429554755Z","tags":null},"/notes/custom-Domain":{"title":"Custom Domain","content":"\n### Registrar\nThis step is only applicable if you are using a **custom domain**! If you are using a `\u003cYOUR-USERNAME\u003e.github.io` domain, you can skip this step.\n\nFor this last bit to take effect, you also need to create a CNAME record with the DNS provider you register your domain with (i.e. NameCheap, Google Domains).\n\nGitHub has some [documentation on this](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site), but the tldr; is to\n\n1. Go to your forked repository (`github.com/\u003cYOUR-GITHUB-USERNAME\u003e/quartz`) settings page and go to the Pages tab. Under \"Custom domain\", type your custom domain, then click **Save**.\n2. Go to your DNS Provider and create a CNAME record that points from your domain to `\u003cYOUR-GITHUB-USERNAME.github.io.` (yes, with the trailing period).\n\n\t![Example Configuration for Quartz](/notes/images/google-domains.png)*Example Configuration for Quartz*\n3. Wait 30 minutes to an hour for the network changes to kick in.\n4. Done!","lastmodified":"2022-07-31T23:56:07.429554755Z","tags":null},"/notes/editing":{"title":"Editing Content in Quartz","content":"\n## Editing \nQuartz runs on top of [Hugo](https://gohugo.io/) so all notes are written in [Markdown](https://www.markdownguide.org/getting-started/).\n\n### Folder Structure\nHere's a rough overview of what's what.\n\n**All content in your garden can found in the `/content` folder.** To make edits, you can open any of the files and make changes directly and save it. You can organize content into any folder you'd like.\n\n**To edit the main home page, open `/content/_index.md`.**\n\nTo create a link between notes in your garden, just create a normal link using Markdown pointing to the document in question. Please note that **all links should be relative to the root `/content` path**. \n\n```markdown\nFor example, I want to link this current document to `notes/config.md`.\n[A link to the config page](notes/config.md)\n```\n\nSimilarly, you can put local images anywhere in the `/content` folder.\n\n```markdown\nExample image (source is in content/notes/images/example.png)\n![Example Image](/content/notes/images/example.png)\n```\n\nYou can also use wikilinks if that is what you are more comfortable with!\n\n### Front Matter\nHugo is picky when it comes to metadata for files. Make sure that your title is double-quoted and that you have a title defined at the top of your file like so. You can also add tags here as well.\n\n```yaml\n---\ntitle: \"Example Title\"\ntags:\n- example-tag\n---\n\nRest of your content here...\n```\n\n### Obsidian\nI recommend using [Obsidian](http://obsidian.md/) as a way to edit and grow your digital garden. It comes with a really nice editor and graphical interface to preview all of your local files.\n\nThis step is **highly recommended**.\n\n\u003e πŸ”— Step 3: [How to setup your Obsidian Vault to work with Quartz](notes/obsidian.md)\n\n## Previewing Changes\nThis step is purely optional and mostly for those who want to see the published version of their digital garden locally before opening it up to the internet. This is *highly recommended* but not required.\n\n\u003e πŸ‘€ Step 4: [Preview Quartz Changes](notes/preview%20changes.md)\n\nFor those who like to live life more on the edge, viewing the garden through Obsidian gets you pretty close to the real thing.\n\n## Publishing Changes\nNow that you know the basics of managing your digital garden using Quartz, you can publish it to the internet!\n\n\u003e 🌍 Step 5: [Hosting Quartz online!](notes/hosting.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2022-07-31T23:56:07.429554755Z","tags":null},"/notes/hosting":{"title":"Deploying Quartz to the Web","content":"\n## Hosting on GitHub Pages\nQuartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go! Follow the steps below.\n\n### Enable GitHub Actions\nBy default, GitHub disables workflows from running automatically on Forked Repostories. Head to the 'Actions' tab of your forked repository and Enable Workflows to setup deploying your Quartz site!\n\n![Enable GitHub Actions](notes/images/github-actions.png)*Enable GitHub Actions*\n\n### Enable GitHub Pages\n\nHead to the 'Settings' tab of your forked repository and go to the 'Pages' tab.\n\n1. (IMPORTANT) Set the source to deploy from `master` (and not `hugo`) using `/ (root)`\n2. Set a custom domain here if you have one!\n\n![Enable GitHub Pages](/notes/images/github-pages.png)*Enable GitHub Pages*\n\n### Pushing Changes\nTo see your changes on the internet, we need to push it them to GitHub. Quartz is a `git` repository so updating it is the same workflow as you would follow as if it were just a regular software project.\n\n```shell\n# Navigate to Quartz folder\ncd \u003cpath-to-quartz\u003e\n\n# Commit all changes\ngit add .\ngit commit -m \"message describing changes\"\n\n# Push to GitHub to update site\ngit push origin hugo\n```\n\nNote: we specifically push to the `hugo` branch here. Our GitHub action automatically runs everytime a push to is detected to that branch and then updates the `master` branch for redeployment.\n\n### Setting up the Site\nNow let's get this site up and running. Never hosted a site before? No problem. Have a fancy custom domain you already own or want to subdomain your Quartz? That's easy too.\n\nHere, we take advantage of GitHub's free page hosting to deploy our site. Change `baseURL` in `/config.toml`. \n\nMake sure that your `baseURL` has a trailing `/`!\n\n[Reference `config.toml` here](https://github.com/jackyzha0/quartz/blob/hugo/config.toml)\n\n```toml\nbaseURL = \"https://\u003cYOUR-DOMAIN\u003e/\"\n```\n\nIf you are using this under a subdomain (e.g. `\u003cYOUR-GITHUB-USERNAME\u003e.github.io/quartz`), include the trailing `/`. **You need to do this especially if you are using GitHub!**\n\n```toml\nbaseURL = \"https://\u003cYOUR-GITHUB-USERNAME\u003e.github.io/quartz/\"\n```\n\nChange `cname` in `/.github/workflows/deploy.yaml`. Again, if you don't have a custom domain to use, you can use `\u003cYOUR-USERNAME\u003e.github.io`.\n\nPlease note that the `cname` field should *not* have any path `e.g. end with /quartz` or have a trailing `/`.\n\n[Reference `deploy.yaml` here](https://github.com/jackyzha0/quartz/blob/hugo/.github/workflows/deploy.yaml)\n\n```yaml {title=\".github/workflows/deploy.yaml\"}\n- name: Deploy \n uses: peaceiris/actions-gh-pages@v3 \n with: \n\tgithub_token: ${{ secrets.GITHUB_TOKEN }} # this can stay as is, GitHub fills this in for us!\n\tpublish_dir: ./public \n\tpublish_branch: master\n\tcname: \u003cYOUR-DOMAIN\u003e\n```\n\nHave a custom domain? [Learn how to set it up with Quartz ](notes/custom%20Domain.md).\n\n### Ignoring Files\nOnly want to publish a subset of all of your notes? Don't worry, Quartz makes this a simple two-step process.\n\n❌ [Excluding pages from being published](notes/ignore%20notes.md)\n\n---\n\nNow that your Quartz is live, let's figure out how to make Quartz really *yours*!\n\n\u003e Step 6: 🎨 [Customizing Quartz](notes/config.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2022-07-31T23:56:07.429554755Z","tags":null},"/notes/ignore-notes":{"title":"Ignoring Notes","content":"\n### Quartz Ignore\nEdit `ignoreFiles` in `config.toml` to include paths you'd like to exclude from being rendered.\n\n```toml\n...\nignoreFiles = [ \n \"/content/templates/*\", \n \"/content/private/*\", \n \"\u003cyour path here\u003e\"\n]\n```\n\n`ignoreFiles` supports the use of Regular Expressions (RegEx) so you can ignore patterns as well (e.g. ignoring all `.png`s by doing `\\\\.png$`).\nTo ignore a specific file, you can also add the tag `draft: true` to the frontmatter of a note.\n\n```markdown\n---\ntitle: Some Private Note\ndraft: true\n---\n...\n```\n\nMore details in [Hugo's documentation](https://gohugo.io/getting-started/configuration/#ignore-content-and-data-files-when-rendering).\n\n### Global Ignore\nHowever, just adding to the `ignoreFiles` will only prevent the page from being access through Quartz. If you want to prevent the file from being pushed to GitHub (for example if you have a public repository), you need to also add the path to the `.gitignore` file at the root of the repository.","lastmodified":"2022-07-31T23:56:07.429554755Z","tags":null},"/notes/obsidian":{"title":"Obsidian Vault Integration","content":"\n## Setup\nObsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.\n\n### New Vault\nIf you don't have an existing Vault, [download Obsidian](https://obsidian.md/) and create a new Vault in the `/content` folder that you created and cloned during the [setup](notes/setup.md) step.\n\n### Linking an existing Vault\nThe easiest way to use an existing Vault is to copy all of your files (directory and hierarchies intact) into the `/content` folder.\n\n## Settings\nGreat, now that you have your Obsidian linked to your Quartz, let's fix some settings so that they play well.\n\n1. Under Options \u003e Files and Links, set the New link format to always use Absolute Path in Vault.\n2. Go to Settings \u003e Files \u0026 Links \u003e Turn \"on\" automatically update internal links.\n\n![Obsidian Settings](/notes/images/obsidian-settings.png)*Obsidian Settings*\n\n## Templates\nInserting front matter everytime you want to create a new Note gets annoying really quickly. Luckily, Obsidian supports templates which makes inserting new content really easily.\n\n**If you decide to overwrite the `/content` folder completely, don't remove the `/content/templates` folder!**\n\nHead over to Options \u003e Core Plugins and enable the Templates plugin. Then go to Options \u003e Hotkeys and set a hotkey for 'Insert Template' (I recommend `[cmd]+T`). That way, when you create a new note, you can just press the hotkey for a new template and be ready to go!\n\n\u003e πŸ‘€ Step 4: [Preview Quartz Changes](notes/preview%20changes.md)","lastmodified":"2022-07-31T23:56:07.433554903Z","tags":null},"/notes/philosophy":{"title":"Quartz Philosophy","content":"\n\u003e β€œ[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” β€” Richard Hamming\n\n## Why Quartz?\nHosting a public digital garden isn't easy. There are an overwhelming number of tutorials, resources, and guides for tools like [Notion](https://www.notion.so/), [Roam](https://roamresearch.com/), and [Obsidian](https://obsidian.md/), yet none of them have super easy to use *free* tools to publish that garden to the world.\n\nI've personally found that\n1. It's nice to access notes from anywhere\n2. Having a public digital garden invites open conversations\n3. It makes keeping personal notes and knowledge *playful and fun*\n\nI was really inspired by [Bianca](https://garden.bianca.digital/) and [Joel](https://joelhooks.com/digital-garden)'s digital gardens and wanted to try making my own.\n\n**The goal of Quartz is to make hosting your own public digital garden free and simple.** You don't even need your own website. Quartz does all of that for you and gives your own little corner of the internet.\n","lastmodified":"2022-07-31T23:56:07.433554903Z","tags":null},"/notes/preview-changes":{"title":"Preview Changes","content":"\nIf you'd like to preview what your Quartz site looks like before deploying it to the internet, here's exactly how to do that!\n\nNote that both of these steps need to be completed.\n\n## Install `hugo-obsidian`\nThis step will generate the list of backlinks for Hugo to parse. Ensure you have [Go](https://golang.org/doc/install) (\u003e= 1.16) installed.\n\n```shell\n# Install and link `hugo-obsidian` locally\ngo install github.com/jackyzha0/hugo-obsidian@latest\n```\n\nIf you are running into an error saying that `command not found: hugo-obsidian`, make sure you set your `GOPATH` correctly! This will allow your terminal to correctly recognize hugo-obsidian as an executable.\n\nAfterwards, start the Hugo server as shown above and your local backlinks and interactive graph should be populated!\n\n## Installing Hugo\nHugo is the static site generator that powers Quartz. [Install Hugo with \"extended\" Sass/SCSS version](https://gohugo.io/getting-started/installing/) first. Then,\n\n```\n# Navigate to your local Quartz folder\ncd \u003clocation-of-your-local-quartz\u003e\n\n# Start local server\nmake serve\n\n# View your site in a browser at http://localhost:1313/\n```\n\n\u003e 🌍 Step 5: [Hosting Quartz online!](notes/hosting.md)","lastmodified":"2022-07-31T23:56:07.433554903Z","tags":null},"/notes/setup":{"title":"Setup","content":"\n## Making your own Quartz\nSetting up Quartz requires a basic understanding of `git`. If you are unfamiliar, [this resource](https://resources.nwplus.io/2-beginner/how-to-git-github.html) is a great place to start!\n\n### Forking\n\u003e A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project.\n\nNavigate to the GitHub repository for the Quartz project:\n\nπŸ“ [Quartz Repository](https://github.com/jackyzha0/quartz)\n\nThen, Fork the repository into your own GitHub account. If you don't have an account, you can make on for free [here](https://github.com/join). More details about forking a repo can be found on [GitHub's documentation](https://docs.github.com/en/get-started/quickstart/fork-a-repo).\n\n### Cloning\nAfter you've made a fork of the repository, you need to download the files locally onto your machine. Ensure you have `git`, then type the following command replacing `YOUR-USERNAME` with your GitHub username.\n\n```shell\ngit clone https://github.com/YOUR-USERNAME/quartz\n```\n\n## Editing\nGreat! Now you have everything you need to start editing and growing your digital garden. If you're ready to start writing content already, check out the recommended flow for editing notes in Quartz.\n\n\u003e ✏️ Step 2: [Editing Notes in Quartz](notes/editing.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2022-07-31T23:56:07.433554903Z","tags":null},"/notes/showcase":{"title":"Showcase","content":"\nWant to see what Quartz can do? Here are some cool community gardens :)\n\n- [Quartz Documentation (this site!)](https://quartz.jzhao.xyz/)\n- [Jacky Zhao's Garden](https://jzhao.xyz/)\n- [Scaling Synthesis - A hypertext research notebook](https://scalingsynthesis.com/)\n- [AWAGMI Intern Notes](https://notes.awagmi.xyz/)\n- [Shihyu's PKM](https://shihyuho.github.io/pkm/)\n- [Chloe's Garden](https://garden.chloeabrasada.online/)\n- [SlRvb's Site](https://slrvb.github.io/Site/)\n- [Course notes for Information Technology Advanced Theory](https://a2itnotes.github.io/quartz/)\n- [Brandon Boswell's Garden](https://brandonkboswell.com)\n- [Siyang's Courtyard](https://siyangsun.github.io/courtyard/)\n\nIf you want to see your own on here, submit a [Pull Request adding yourself to this file](https://github.com/jackyzha0/quartz/blob/hugo/content/notes/showcase.md)!\n","lastmodified":"2022-07-31T23:56:07.433554903Z","tags":null},"/notes/troubleshooting":{"title":"Troubleshooting and FAQ","content":"\nStill having trouble? Here are a list of common questions and problems people encounter when installing Quartz.\n\nWhile you're here, join our [Discord](https://discord.gg/cRFFHYye7t) :)\n\n### Does Quartz have Latex support?\nYes! See [CJK + Latex Support (ζ΅‹θ―•)](notes/CJK%20+%20Latex%20Support%20(ζ΅‹θ―•).md) for a brief demo.\n\n### Can I use \\\u003cObsidian Plugin\\\u003e in Quartz?\nUnless it produces direct Markdown output in the file, no. There currently is no way to bundle plugin code with Quartz.\n\nThe easiest way would be to add your own HTML partial that supports the functionality you are looking for.\n\n### My GitHub pages is just showing the README and not Quartz\nMake sure you set the source to deploy from `master` (and not `hugo`) using `/ (root)`! See more in the [hosting](/notes/hosting) guide\n\n### Some of my pages have 'January 1, 0001' as the last modified date\nThis is a problem caused by `git` treating files as case-insensitive by default and some of your posts probably have capitalized file names. You can turn this off in your Quartz by running this command.\n\n```shell\n# in the root of your Quartz (same folder as config.toml)\ngit config core.ignorecase true\n\n# or globally (not recommended)\ngit config --global core.ignorecase true\n```\n\n### Can I publish only a subset of my pages?\nYes! Quartz makes selective publishing really easy. Heres a guide on [excluding pages from being published](notes/ignore%20notes.md).\n\n### Can I host this myself and not on GitHub Pages?\nYes! All built files can be found under `/public` in the `master` branch. More details under [hosting](notes/hosting.md).\n\n### `command not found: hugo-obsidian`\nMake sure you set your `GOPATH` correctly! This will allow your terminal to correctly recognize `hugo-obsidian` as an executable.\n\n```shell\n# Add the following 2 lines to your ~/.bash_profile\nexport GOPATH=/Users/$USER/go\nexport PATH=$GOPATH/bin:$PATH\n\n# In your current terminal, to reload the session\nsource ~/.bash_profile\n```\n\n### How come my notes aren't being rendered?\nYou probably forgot to include front matter in your Markdown files. You can either setup [Obsidian](notes/obsidian.md) to do this for you or you need to manually define it. More details in [the 'how to edit' guide](notes/editing.md).\n\n### My custom domain isn't working!\nWalk through the steps in [the hosting guide](notes/hosting.md) again. Make sure you wait 30 min to 1 hour for changes to take effect.\n\n### How do I setup Google Analytics?\nYou can edit it in `config.toml` and either use a V3 (UA-) or V4 (G-) tag.\n\n### How do I change the content on the home page?\nTo edit the main home page, open `/content/_index.md`.\n\n### How do I change the colours?\nYou can change the theme by editing `assets/custom.scss`. More details on customization and themeing can be found in the [customization guide](notes/config.md).\n\n### How do I add images?\nYou can put images anywhere in the `/content` folder.\n\n```markdown\nExample image (source is in content/notes/images/example.png)\n![Example Image](/content/notes/images/example.png)\n```\n\n### My Interactive Graph and Backlinks aren't up to date\nBy default, the `linkIndex.json` (which Quartz needs to generate the Interactive Graph and Backlinks) are not regenerated locally. To set that up, see the guide on [local editing](notes/editing.md)\n\n### Can I use React/Vue/some other framework?\nNot out of the box. You could probably make it work by editing `/layouts/_default/single.html` but that's not what Quartz is designed to work with. 99% of things you are trying to do with those frameworks you can accomplish perfectly fine using just vanilla HTML/CSS/JS.\n\n## Still Stuck?\nQuartz isn't perfect! If you're still having troubles, file an issue in the GitHub repo with as much information as you can reasonably provide. Alternatively, you can message me on [Twitter](https://twitter.com/_jzhao) and I'll try to get back to you as soon as I can.\n\nπŸ› [Submit an Issue](https://github.com/jackyzha0/quartz/issues)","lastmodified":"2022-07-31T23:56:07.433554903Z","tags":null},"/notes/updating":{"title":"Updating","content":"\nHaven't updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! This command will show you a log summary of all commits since you last updated, press `q` to acknowledge this. Then, it will show you each change in turn and press `y` to accept the patch or `n` to reject it. Usually you should press `y` for most of these unless it conflicts with existing changes you've made! \n\n```shell\nmake update\n```\n\nOr, if you don't want the interactive parts and just want to force update your local garden (this assumed that you are okay with some of your personalizations been overriden!)\n\n```shell\nmake update-force\n```\n\nOr, manually checkout the changes yourself.\n\n\u003e [!warning] Warning!\n\u003e\n\u003e If you customized the files in `data/`, or anything inside `layouts/`, your customization may be overwritten!\n\u003e Make sure you have a copy of these changes if you don't want to lose them.\n\n\n```shell\n# add Quartz as a remote host\ngit remote add upstream git@github.com:jackyzha0/quartz.git\n\n# index and fetch changes\ngit fetch upstream\ngit checkout -p upstream/hugo -- layouts .github Makefile assets/js assets/styles/base.scss assets/styles/darkmode.scss config.toml data \n```\n","lastmodified":"2022-07-31T23:56:07.433554903Z","tags":null}} \ No newline at end of file diff --git a/indices/contentIndex.7055000c8175e3f0db99f8547e9f7822.min.json b/indices/contentIndex.7055000c8175e3f0db99f8547e9f7822.min.json new file mode 100644 index 000000000..bbbd332e2 --- /dev/null +++ b/indices/contentIndex.7055000c8175e3f0db99f8547e9f7822.min.json @@ -0,0 +1 @@ +{"/":{"title":"πŸͺ΄ Quartz 3.2","content":"\nHost your second brain and [digital garden](https://jzhao.xyz/posts/networked-thought) for free. Quartz features\n\n1. Extremely fast natural-language [[notes/search|search]]\n2. Customizable and hackable design based on [Hugo](https://gohugo.io/)\n3. Automatically generated backlinks, link previews, and local graph\n4. Built-in [[notes/CJK + Latex Support (ζ΅‹θ―•) | CJK + Latex Support]] and [[notes/callouts | Admonition-style callouts]]\n5. Support for both Markdown Links and Wikilinks\n\nCheck out some of the [amazing gardens that community members](notes/showcase.md) have published with Quartz or read about [why I made Quartz](notes/philosophy.md) to begin with.\n\n## Get Started\n\u003e πŸ“š Step 1: [Setup your own digital garden using Quartz](notes/setup.md)\n\nReturning user? Figure out how to [[notes/updating|update]] your existing Quartz garden.\n\nIf you prefer browsing the contents of this site through a list instead of a graph, you see a list of all [setup-related notes](/tags/setup).\n\n### Troubleshooting\n- 🚧 [Troubleshooting and FAQ](notes/troubleshooting.md)\n- πŸ› [Submit an Issue](https://github.com/jackyzha0/quartz/issues)\n- πŸ‘€ [Discord Community](https://discord.gg/cRFFHYye7t)\n\n","lastmodified":"2022-08-01T01:02:50.637412307Z","tags":null},"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95":{"title":"CJK + Latex Support (ζ΅‹θ―•)","content":"\n## Chinese, Japanese, Korean Support\nε‡ δΉŽεœ¨ζˆ‘δ»¬ζ„θ―†εˆ°δΉ‹ε‰οΌŒζˆ‘δ»¬ε·²η»η¦»εΌ€δΊ†εœ°ι’γ€‚\n\nμš°λ¦¬κ°€ 그것을 μ•ŒκΈ°λ„ 전에 μš°λ¦¬λŠ” 땅을 λ– λ‚¬μŠ΅λ‹ˆλ‹€.\n\nη§γŸγ‘γŒγγ‚Œγ‚’ηŸ₯γ‚‹γ»γΌε‰γ«γ€η§γŸγ‘γ―εœ°ι’γ‚’ι›’γ‚Œγ¦γ„γΎγ—γŸγ€‚\n\n## Latex\n\nBlock math works with two dollar signs `$$...$$`\n\n$$f(x) = \\int_{-\\infty}^\\infty\n f\\hat(\\xi),e^{2 \\pi i \\xi x}\n \\,d\\xi$$\n\t\nInline math also works with single dollar signs `$...$`. For example, Euler's identity but inline: $e^{i\\pi} = 0$\n\nAligned equations work quite well:\n\n$$\n\\begin{aligned}\na \u0026= b + c \\\\ \u0026= e + f \\\\\n\\end{aligned}\n$$\n\nAnd matrices\n\n$$\n\\begin{bmatrix}\n1 \u0026 2 \u0026 3 \\\\\na \u0026 b \u0026 c\n\\end{bmatrix}\n$$\n\n## RTL\nMore information on configuring RTL languages like Arabic in the [config](notes/config.md) page.\n","lastmodified":"2022-08-01T01:02:50.637412307Z","tags":null},"/notes/callouts":{"title":"Callouts","content":"\n## Callout support\n\nQuartz supports the same Admonition-callout syntax as Obsidian.\n\nThis includes\n- 12 Distinct callout types (each with several aliases)\n- Collapsable callouts\n\nSee [documentation on supported types and syntax here](https://help.obsidian.md/How+to/Use+callouts#Types).\n\n## Showcase\n\n\u003e [!example] Examples\n\u003e\n\u003e Aliases: example\n\n\u003e [!note] Notes\n\u003e\n\u003e Aliases: note\n\n\u003e [!abstract] Summaries \n\u003e\n\u003e Aliases: abstract, summary, tldr\n\n\u003e [!info] Info \n\u003e\n\u003e Aliases: info, todo\n\n\u003e [!tip] Hint \n\u003e\n\u003e Aliases: tip, hint, important\n\n\u003e [!success] Success \n\u003e\n\u003e Aliases: success, check, done\n\n\u003e [!question] Question \n\u003e\n\u003e Aliases: question, help, faq\n\n\u003e [!warning] Warning \n\u003e\n\u003e Aliases: warning, caution, attention\n\n\u003e [!failure] Failure \n\u003e\n\u003e Aliases: failure, fail, missing\n\n\u003e [!danger] Error\n\u003e\n\u003e Aliases: danger, error\n\n\u003e [!bug] Bug\n\u003e\n\u003e Aliases: bug\n\n\u003e [!quote] Quote\n\u003e\n\u003e Aliases: quote, cite\n","lastmodified":"2022-08-01T01:02:50.637412307Z","tags":null},"/notes/config":{"title":"Configuration","content":"\n## Configuration\nQuartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you'd like to get.\n\nThe majority of configuration can be found under `data/config.yaml`. An annotated example configuration is shown below.\n\n```yaml {title=\"data/config.yaml\"}\n# The name to display in the footer\nname: Jacky Zhao\n\n# whether to globally show the table of contents on each page\n# this can be turned off on a per-page basis by adding this to the\n# front-matter of that note\nenableToc: true\n\n# whether to by-default open or close the table of contents on each page\nopenToc: false\n\n# whether to display on-hover link preview cards\nenableLinkPreview: true\n\n# whether to render titles for code blocks\nenableCodeBlockTitle: true \n\n# whether to render copy buttons for code blocks\nenableCodeBlockCopy: true \n\n# whether to render callouts\nenableCallouts: true\n\n# whether to try to process Latex\nenableLatex: true\n\n# whether to enable single-page-app style rendering\n# this prevents flashes of unstyled content and improves\n# smoothness of Quartz. More info in issue #109 on GitHub\nenableSPA: true\n\n# whether to render a footer\nenableFooter: true\n\n# whether backlinks of pages should show the context in which\n# they were mentioned\nenableContextualBacklinks: true\n\n# whether to show a section of recent notes on the home page\nenableRecentNotes: false\n\n# whether to display an 'edit' button next to the last edited field\n# that links to github\nenableGitHubEdit: true\nGitHubLink: https://github.com/jackyzha0/quartz/tree/hugo/content\n\n# whether to use Operand to power semantic search\n# IMPORTANT: replace this API key with your own if you plan on using\n# Operand search!\nenableSemanticSearch: false\noperandApiKey: \"REPLACE-WITH-YOUR-OPERAND-API-KEY\"\n\n# page description used for SEO\ndescription:\n Host your second brain and digital garden for free. Quartz features extremely fast full-text search,\n Wikilink support, backlinks, local graph, tags, and link previews.\n\n# title of the home page (also for SEO)\npage_title:\n \"πŸͺ΄ Quartz 3.2\"\n\n# links to show in the footer\nlinks:\n - link_name: Twitter\n link: https://twitter.com/_jzhao\n - link_name: Github\n link: https://github.com/jackyzha0\n```\n\n### Code Block Titles\nTo add code block titles with Quartz:\n\n1. Ensure that code block titles are enabled in Quartz's configuration:\n\n ```yaml {title=\"data/config.yaml\", linenos=false}\n enableCodeBlockTitle: true\n ```\n\n2. Add the `title` attribute to the desired [code block\n fence](https://gohugo.io/content-management/syntax-highlighting/#highlighting-in-code-fences):\n\n ```markdown {linenos=false}\n ```yaml {title=\"data/config.yaml\"}\n enableCodeBlockTitle: true # example from step 1\n ```\n ```\n\n**Note** that if `{title=\u003cmy-title\u003e}` is included, and code block titles are not\nenabled, no errors will occur, and the title attribute will be ignored.\n\n### HTML Favicons\nIf you would like to customize the favicons of your Quartz-based website, you \ncan add them to the `data/config.yaml` file. The **default** without any set \n`favicon` key is:\n\n```html {title=\"layouts/partials/head.html\", linenostart=15}\n\u003clink rel=\"shortcut icon\" href=\"icon.png\" type=\"image/png\"\u003e\n```\n\nThe default can be overridden by defining a value to the `favicon` key in your \n`data/config.yaml` file. For example, here is a `List[Dictionary]` example format, which is\nequivalent to the default:\n\n```yaml {title=\"data/config.yaml\", linenos=false}\nfavicon:\n - { rel: \"shortcut icon\", href: \"icon.png\", type: \"image/png\" }\n# - { ... } # Repeat for each additional favicon you want to add\n```\n\nIn this format, the keys are identical to their HTML representations.\n\nIf you plan to add multiple favicons generated by a website (see list below), it\nmay be easier to define it as HTML. Here is an example which appends the \n**Apple touch icon** to Quartz's default favicon:\n\n```yaml {title=\"data/config.yaml\", linenos=false}\nfavicon: |\n \u003clink rel=\"shortcut icon\" href=\"icon.png\" type=\"image/png\"\u003e\n \u003clink rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\"\u003e\n```\n\nThis second favicon will now be used as a web page icon when someone adds your \nwebpage to the home screen of their Apple device. If you are interested in more \ninformation about the current and past standards of favicons, you can read \n[this article](https://www.emergeinteractive.com/insights/detail/the-essentials-of-favicons/).\n\n**Note** that all generated favicon paths, defined by the `href` \nattribute, are relative to the `static/` directory.\n\n### Graph View\nTo customize the Interactive Graph view, you can poke around `data/graphConfig.yaml`.\n\n```yaml {title=\"data/graphConfig.yaml\"}\n# if true, a Global Graph will be shown on home page with full width, no backlink.\n# A different set of Local Graphs will be shown on sub pages.\n# if false, Local Graph will be default on every page as usual\nenableGlobalGraph: false\n\n### Local Graph ###\nlocalGraph:\n # whether automatically generate a legend\n enableLegend: false\n \n # whether to allow dragging nodes in the graph\n enableDrag: true\n \n # whether to allow zooming and panning the graph\n enableZoom: true\n \n # how many neighbours of the current node to show (-1 is all nodes)\n depth: 1\n \n # initial zoom factor of the graph\n scale: 1.2\n \n # how strongly nodes should repel each other\n repelForce: 2\n\n # how strongly should nodes be attracted to the center of gravity\n centerForce: 1\n\n # what the default link length should be\n linkDistance: 1\n \n # how big the node labels should be\n fontSize: 0.6\n \n # scale at which to start fading the labes on nodes\n opacityScale: 3\n\n### Global Graph ###\nglobalGraph:\n\t# same settings as above\n\n### For all graphs ###\n# colour specific nodes path off of their path\npaths:\n - /moc: \"#4388cc\"\n```\n\n\n## Styling\nWant to go even more in-depth? You can add custom CSS styling and change existing colours through editing `assets/styles/custom.scss`. If you'd like to target specific parts of the site, you can add ids and classes to the HTML partials in `/layouts/partials`. \n\n### Partials\nPartials are what dictate what gets rendered to the page. Want to change how pages are styled and structured? You can edit the appropriate layout in `/layouts`.\n\nFor example, the structure of the home page can be edited through `/layouts/index.html`. To customize the footer, you can edit `/layouts/partials/footer.html`\n\nMore info about partials on [Hugo's website.](https://gohugo.io/templates/partials/)\n\nStill having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n\n## Language Support\n[CJK + Latex Support (ζ΅‹θ―•)](notes/CJK%20+%20Latex%20Support%20(ζ΅‹θ―•).md) comes out of the box with Quartz.\n\nWant to support languages that read from right-to-left (like Arabic)? Hugo (and by proxy, Quartz) supports this natively.\n\nFollow the steps [Hugo provides here](https://gohugo.io/content-management/multilingual/#configure-languages) and modify your `config.toml`\n\nFor example:\n\n```toml\ndefaultContentLanguage = 'ar'\n[languages]\n [languages.ar]\n languagedirection = 'rtl'\n title = 'Ω…Ψ―ΩˆΩ†Ψͺي'\n weight = 1\n```\n","lastmodified":"2022-08-01T01:02:50.641412444Z","tags":null},"/notes/custom-Domain":{"title":"Custom Domain","content":"\n### Registrar\nThis step is only applicable if you are using a **custom domain**! If you are using a `\u003cYOUR-USERNAME\u003e.github.io` domain, you can skip this step.\n\nFor this last bit to take effect, you also need to create a CNAME record with the DNS provider you register your domain with (i.e. NameCheap, Google Domains).\n\nGitHub has some [documentation on this](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site), but the tldr; is to\n\n1. Go to your forked repository (`github.com/\u003cYOUR-GITHUB-USERNAME\u003e/quartz`) settings page and go to the Pages tab. Under \"Custom domain\", type your custom domain, then click **Save**.\n2. Go to your DNS Provider and create a CNAME record that points from your domain to `\u003cYOUR-GITHUB-USERNAME.github.io.` (yes, with the trailing period).\n\n\t![Example Configuration for Quartz](/notes/images/google-domains.png)*Example Configuration for Quartz*\n3. Wait 30 minutes to an hour for the network changes to kick in.\n4. Done!","lastmodified":"2022-08-01T01:02:50.641412444Z","tags":null},"/notes/editing":{"title":"Editing Content in Quartz","content":"\n## Editing \nQuartz runs on top of [Hugo](https://gohugo.io/) so all notes are written in [Markdown](https://www.markdownguide.org/getting-started/).\n\n### Folder Structure\nHere's a rough overview of what's what.\n\n**All content in your garden can found in the `/content` folder.** To make edits, you can open any of the files and make changes directly and save it. You can organize content into any folder you'd like.\n\n**To edit the main home page, open `/content/_index.md`.**\n\nTo create a link between notes in your garden, just create a normal link using Markdown pointing to the document in question. Please note that **all links should be relative to the root `/content` path**. \n\n```markdown\nFor example, I want to link this current document to `notes/config.md`.\n[A link to the config page](notes/config.md)\n```\n\nSimilarly, you can put local images anywhere in the `/content` folder.\n\n```markdown\nExample image (source is in content/notes/images/example.png)\n![Example Image](/content/notes/images/example.png)\n```\n\nYou can also use wikilinks if that is what you are more comfortable with!\n\n### Front Matter\nHugo is picky when it comes to metadata for files. Make sure that your title is double-quoted and that you have a title defined at the top of your file like so. You can also add tags here as well.\n\n```yaml\n---\ntitle: \"Example Title\"\ntags:\n- example-tag\n---\n\nRest of your content here...\n```\n\n### Obsidian\nI recommend using [Obsidian](http://obsidian.md/) as a way to edit and grow your digital garden. It comes with a really nice editor and graphical interface to preview all of your local files.\n\nThis step is **highly recommended**.\n\n\u003e πŸ”— Step 3: [How to setup your Obsidian Vault to work with Quartz](notes/obsidian.md)\n\n## Previewing Changes\nThis step is purely optional and mostly for those who want to see the published version of their digital garden locally before opening it up to the internet. This is *highly recommended* but not required.\n\n\u003e πŸ‘€ Step 4: [Preview Quartz Changes](notes/preview%20changes.md)\n\nFor those who like to live life more on the edge, viewing the garden through Obsidian gets you pretty close to the real thing.\n\n## Publishing Changes\nNow that you know the basics of managing your digital garden using Quartz, you can publish it to the internet!\n\n\u003e 🌍 Step 5: [Hosting Quartz online!](notes/hosting.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2022-08-01T01:02:50.641412444Z","tags":null},"/notes/hosting":{"title":"Deploying Quartz to the Web","content":"\n## Hosting on GitHub Pages\nQuartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go! Follow the steps below.\n\n### Enable GitHub Actions\nBy default, GitHub disables workflows from running automatically on Forked Repostories. Head to the 'Actions' tab of your forked repository and Enable Workflows to setup deploying your Quartz site!\n\n![Enable GitHub Actions](notes/images/github-actions.png)*Enable GitHub Actions*\n\n### Enable GitHub Pages\n\nHead to the 'Settings' tab of your forked repository and go to the 'Pages' tab.\n\n1. (IMPORTANT) Set the source to deploy from `master` (and not `hugo`) using `/ (root)`\n2. Set a custom domain here if you have one!\n\n![Enable GitHub Pages](/notes/images/github-pages.png)*Enable GitHub Pages*\n\n### Pushing Changes\nTo see your changes on the internet, we need to push it them to GitHub. Quartz is a `git` repository so updating it is the same workflow as you would follow as if it were just a regular software project.\n\n```shell\n# Navigate to Quartz folder\ncd \u003cpath-to-quartz\u003e\n\n# Commit all changes\ngit add .\ngit commit -m \"message describing changes\"\n\n# Push to GitHub to update site\ngit push origin hugo\n```\n\nNote: we specifically push to the `hugo` branch here. Our GitHub action automatically runs everytime a push to is detected to that branch and then updates the `master` branch for redeployment.\n\n### Setting up the Site\nNow let's get this site up and running. Never hosted a site before? No problem. Have a fancy custom domain you already own or want to subdomain your Quartz? That's easy too.\n\nHere, we take advantage of GitHub's free page hosting to deploy our site. Change `baseURL` in `/config.toml`. \n\nMake sure that your `baseURL` has a trailing `/`!\n\n[Reference `config.toml` here](https://github.com/jackyzha0/quartz/blob/hugo/config.toml)\n\n```toml\nbaseURL = \"https://\u003cYOUR-DOMAIN\u003e/\"\n```\n\nIf you are using this under a subdomain (e.g. `\u003cYOUR-GITHUB-USERNAME\u003e.github.io/quartz`), include the trailing `/`. **You need to do this especially if you are using GitHub!**\n\n```toml\nbaseURL = \"https://\u003cYOUR-GITHUB-USERNAME\u003e.github.io/quartz/\"\n```\n\nChange `cname` in `/.github/workflows/deploy.yaml`. Again, if you don't have a custom domain to use, you can use `\u003cYOUR-USERNAME\u003e.github.io`.\n\nPlease note that the `cname` field should *not* have any path `e.g. end with /quartz` or have a trailing `/`.\n\n[Reference `deploy.yaml` here](https://github.com/jackyzha0/quartz/blob/hugo/.github/workflows/deploy.yaml)\n\n```yaml {title=\".github/workflows/deploy.yaml\"}\n- name: Deploy \n uses: peaceiris/actions-gh-pages@v3 \n with: \n\tgithub_token: ${{ secrets.GITHUB_TOKEN }} # this can stay as is, GitHub fills this in for us!\n\tpublish_dir: ./public \n\tpublish_branch: master\n\tcname: \u003cYOUR-DOMAIN\u003e\n```\n\nHave a custom domain? [Learn how to set it up with Quartz ](notes/custom%20Domain.md).\n\n### Ignoring Files\nOnly want to publish a subset of all of your notes? Don't worry, Quartz makes this a simple two-step process.\n\n❌ [Excluding pages from being published](notes/ignore%20notes.md)\n\n---\n\nNow that your Quartz is live, let's figure out how to make Quartz really *yours*!\n\n\u003e Step 6: 🎨 [Customizing Quartz](notes/config.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2022-08-01T01:02:50.641412444Z","tags":null},"/notes/ignore-notes":{"title":"Ignoring Notes","content":"\n### Quartz Ignore\nEdit `ignoreFiles` in `config.toml` to include paths you'd like to exclude from being rendered.\n\n```toml\n...\nignoreFiles = [ \n \"/content/templates/*\", \n \"/content/private/*\", \n \"\u003cyour path here\u003e\"\n]\n```\n\n`ignoreFiles` supports the use of Regular Expressions (RegEx) so you can ignore patterns as well (e.g. ignoring all `.png`s by doing `\\\\.png$`).\nTo ignore a specific file, you can also add the tag `draft: true` to the frontmatter of a note.\n\n```markdown\n---\ntitle: Some Private Note\ndraft: true\n---\n...\n```\n\nMore details in [Hugo's documentation](https://gohugo.io/getting-started/configuration/#ignore-content-and-data-files-when-rendering).\n\n### Global Ignore\nHowever, just adding to the `ignoreFiles` will only prevent the page from being access through Quartz. If you want to prevent the file from being pushed to GitHub (for example if you have a public repository), you need to also add the path to the `.gitignore` file at the root of the repository.","lastmodified":"2022-08-01T01:02:50.641412444Z","tags":null},"/notes/obsidian":{"title":"Obsidian Vault Integration","content":"\n## Setup\nObsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.\n\n### New Vault\nIf you don't have an existing Vault, [download Obsidian](https://obsidian.md/) and create a new Vault in the `/content` folder that you created and cloned during the [setup](notes/setup.md) step.\n\n### Linking an existing Vault\nThe easiest way to use an existing Vault is to copy all of your files (directory and hierarchies intact) into the `/content` folder.\n\n## Settings\nGreat, now that you have your Obsidian linked to your Quartz, let's fix some settings so that they play well.\n\n1. Under Options \u003e Files and Links, set the New link format to always use Absolute Path in Vault.\n2. Go to Settings \u003e Files \u0026 Links \u003e Turn \"on\" automatically update internal links.\n\n![Obsidian Settings](/notes/images/obsidian-settings.png)*Obsidian Settings*\n\n## Templates\nInserting front matter everytime you want to create a new Note gets annoying really quickly. Luckily, Obsidian supports templates which makes inserting new content really easily.\n\n**If you decide to overwrite the `/content` folder completely, don't remove the `/content/templates` folder!**\n\nHead over to Options \u003e Core Plugins and enable the Templates plugin. Then go to Options \u003e Hotkeys and set a hotkey for 'Insert Template' (I recommend `[cmd]+T`). That way, when you create a new note, you can just press the hotkey for a new template and be ready to go!\n\n\u003e πŸ‘€ Step 4: [Preview Quartz Changes](notes/preview%20changes.md)","lastmodified":"2022-08-01T01:02:50.641412444Z","tags":null},"/notes/philosophy":{"title":"Quartz Philosophy","content":"\n\u003e β€œ[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” β€” Richard Hamming\n\n## Why Quartz?\nHosting a public digital garden isn't easy. There are an overwhelming number of tutorials, resources, and guides for tools like [Notion](https://www.notion.so/), [Roam](https://roamresearch.com/), and [Obsidian](https://obsidian.md/), yet none of them have super easy to use *free* tools to publish that garden to the world.\n\nI've personally found that\n1. It's nice to access notes from anywhere\n2. Having a public digital garden invites open conversations\n3. It makes keeping personal notes and knowledge *playful and fun*\n\nI was really inspired by [Bianca](https://garden.bianca.digital/) and [Joel](https://joelhooks.com/digital-garden)'s digital gardens and wanted to try making my own.\n\n**The goal of Quartz is to make hosting your own public digital garden free and simple.** You don't even need your own website. Quartz does all of that for you and gives your own little corner of the internet.\n","lastmodified":"2022-08-01T01:02:50.641412444Z","tags":null},"/notes/preview-changes":{"title":"Preview Changes","content":"\nIf you'd like to preview what your Quartz site looks like before deploying it to the internet, here's exactly how to do that!\n\nNote that both of these steps need to be completed.\n\n## Install `hugo-obsidian`\nThis step will generate the list of backlinks for Hugo to parse. Ensure you have [Go](https://golang.org/doc/install) (\u003e= 1.16) installed.\n\n```bash\n# Install and link `hugo-obsidian` locally\ngo install github.com/jackyzha0/hugo-obsidian@latest\n```\n\nIf you are running into an error saying that `command not found: hugo-obsidian`, make sure you set your `GOPATH` correctly! This will allow your terminal to correctly recognize hugo-obsidian as an executable.\n\nAfterwards, start the Hugo server as shown above and your local backlinks and interactive graph should be populated!\n\n## Installing Hugo\nHugo is the static site generator that powers Quartz. [Install Hugo with \"extended\" Sass/SCSS version](https://gohugo.io/getting-started/installing/) first. Then,\n\n```bash\n# Navigate to your local Quartz folder\ncd \u003clocation-of-your-local-quartz\u003e\n\n# Start local server\nmake serve\n\n# View your site in a browser at http://localhost:1313/\n```\n\n\u003e 🌍 Step 5: [Hosting Quartz online!](notes/hosting.md)","lastmodified":"2022-08-01T01:02:50.641412444Z","tags":null},"/notes/search":{"title":"Search","content":"\nQuartz supports two modes of searching through content.\n\n## Full-text\nFull-text search is the default in Quartz. It produces results that *exactly* match the search query. This is easier to setup but usually produces lower quality matches.\n\n```yaml {title=\"data/config.yaml\"}\n# the default option\nenableSemanticSearch: false\n```\n\n## Natural Language\nNatural language search is powered by [Operand](https://operand.ai/). It understands language like a person does and finds results that best match user intent. In this sense, it is closer to how Google Search works.\n\nNatural language search tends to produce higher quality results than full-text search.\n\nHere's how to set it up.\n\n1. Create an Operand Account on [their website](https://operand.ai/).\n2. Go to Dashboard \u003e Settings \u003e Integrations.\n3. Follow the steps to setup the GitHub integration. Operand needs access to GitHub in order to index your digital garden properly!\n4. Head over to Dashboard \u003e Objects and press `(Cmd + K)` to open the omnibar and select 'Create Collection'.\n\t1. Set the 'Collection Label' to something that will help you remember it.\n\t2. You can leave the 'Parent Collection' field empty.\n5. Click into your newly made Collection.\n\t1. Press the 'share' button that looks like three dots connected by lines.\n\t2. Set the 'Interface Type' to `object-search` and click 'Create'.\n\t3. This will bring you to a new page with a search bar. Ignore this for now.\n6. Go back to Dashboard \u003e Settings \u003e API Keys and find your Quartz-specific Operand API key under 'Other keys'.\n\t1. Copy the key (which looks something like `0e733a7f-9b9c-48c6-9691-b54fa1c8b910`).\n\t2. Open `data/config.yaml`. Set `enableSemanticSearch` to `true` and `operandApiKey` to your copied key.\n\n```yaml {title=\"data/config.yaml\"}\n# the default option\nenableSemanticSearch: true\noperandApiKey: \"0e733a7f-9b9c-48c6-9691-b54fa1c8b910\"\n```\n7. Make a commit and push your changes to GitHub. See the [[notes/hosting|hosting]] page if you haven't done this already.\n\t1. This step is *required* for Operand to be able to properly index your content. \n\t2. Head over to Dashboard \u003e Objects and select the collection that you made earlier\n8. Press `(Cmd + K)` to open the omnibar again and select 'Create GitHub Repo'\n\t1. Set the 'Repository Label' to `Quartz`\n\t2. Set the 'Repository Owner' to your GitHub username\n\t3. Set the 'Repository Ref' to `master`\n\t4. Set the 'Repository Name' to the name of your repository (usually just `quartz` if you forked the repository without changing the name)\n\t5. Leave 'Root Path' and 'Root URL' empty\n9. Wait for your repository to index and enjoy natural language search in Quartz!","lastmodified":"2022-08-01T01:02:50.641412444Z","tags":null},"/notes/setup":{"title":"Setup","content":"\n## Making your own Quartz\nSetting up Quartz requires a basic understanding of `git`. If you are unfamiliar, [this resource](https://resources.nwplus.io/2-beginner/how-to-git-github.html) is a great place to start!\n\n### Forking\n\u003e A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project.\n\nNavigate to the GitHub repository for the Quartz project:\n\nπŸ“ [Quartz Repository](https://github.com/jackyzha0/quartz)\n\nThen, Fork the repository into your own GitHub account. If you don't have an account, you can make on for free [here](https://github.com/join). More details about forking a repo can be found on [GitHub's documentation](https://docs.github.com/en/get-started/quickstart/fork-a-repo).\n\n### Cloning\nAfter you've made a fork of the repository, you need to download the files locally onto your machine. Ensure you have `git`, then type the following command replacing `YOUR-USERNAME` with your GitHub username.\n\n```shell\ngit clone https://github.com/YOUR-USERNAME/quartz\n```\n\n## Editing\nGreat! Now you have everything you need to start editing and growing your digital garden. If you're ready to start writing content already, check out the recommended flow for editing notes in Quartz.\n\n\u003e ✏️ Step 2: [Editing Notes in Quartz](notes/editing.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2022-08-01T01:02:50.641412444Z","tags":null},"/notes/showcase":{"title":"Showcase","content":"\nWant to see what Quartz can do? Here are some cool community gardens :)\n\n- [Quartz Documentation (this site!)](https://quartz.jzhao.xyz/)\n- [Jacky Zhao's Garden](https://jzhao.xyz/)\n- [Scaling Synthesis - A hypertext research notebook](https://scalingsynthesis.com/)\n- [AWAGMI Intern Notes](https://notes.awagmi.xyz/)\n- [Shihyu's PKM](https://shihyuho.github.io/pkm/)\n- [Chloe's Garden](https://garden.chloeabrasada.online/)\n- [SlRvb's Site](https://slrvb.github.io/Site/)\n- [Course notes for Information Technology Advanced Theory](https://a2itnotes.github.io/quartz/)\n- [Brandon Boswell's Garden](https://brandonkboswell.com)\n- [Siyang's Courtyard](https://siyangsun.github.io/courtyard/)\n\nIf you want to see your own on here, submit a [Pull Request adding yourself to this file](https://github.com/jackyzha0/quartz/blob/hugo/content/notes/showcase.md)!\n","lastmodified":"2022-08-01T01:02:50.645412581Z","tags":null},"/notes/troubleshooting":{"title":"Troubleshooting and FAQ","content":"\nStill having trouble? Here are a list of common questions and problems people encounter when installing Quartz.\n\nWhile you're here, join our [Discord](https://discord.gg/cRFFHYye7t) :)\n\n### Does Quartz have Latex support?\nYes! See [CJK + Latex Support (ζ΅‹θ―•)](notes/CJK%20+%20Latex%20Support%20(ζ΅‹θ―•).md) for a brief demo.\n\n### Can I use \\\u003cObsidian Plugin\\\u003e in Quartz?\nUnless it produces direct Markdown output in the file, no. There currently is no way to bundle plugin code with Quartz.\n\nThe easiest way would be to add your own HTML partial that supports the functionality you are looking for.\n\n### My GitHub pages is just showing the README and not Quartz\nMake sure you set the source to deploy from `master` (and not `hugo`) using `/ (root)`! See more in the [hosting](/notes/hosting) guide\n\n### Some of my pages have 'January 1, 0001' as the last modified date\nThis is a problem caused by `git` treating files as case-insensitive by default and some of your posts probably have capitalized file names. You can turn this off in your Quartz by running this command.\n\n```shell\n# in the root of your Quartz (same folder as config.toml)\ngit config core.ignorecase true\n\n# or globally (not recommended)\ngit config --global core.ignorecase true\n```\n\n### Can I publish only a subset of my pages?\nYes! Quartz makes selective publishing really easy. Heres a guide on [excluding pages from being published](notes/ignore%20notes.md).\n\n### Can I host this myself and not on GitHub Pages?\nYes! All built files can be found under `/public` in the `master` branch. More details under [hosting](notes/hosting.md).\n\n### `command not found: hugo-obsidian`\nMake sure you set your `GOPATH` correctly! This will allow your terminal to correctly recognize `hugo-obsidian` as an executable.\n\n```shell\n# Add the following 2 lines to your ~/.bash_profile\nexport GOPATH=/Users/$USER/go\nexport PATH=$GOPATH/bin:$PATH\n\n# In your current terminal, to reload the session\nsource ~/.bash_profile\n```\n\n### How come my notes aren't being rendered?\nYou probably forgot to include front matter in your Markdown files. You can either setup [Obsidian](notes/obsidian.md) to do this for you or you need to manually define it. More details in [the 'how to edit' guide](notes/editing.md).\n\n### My custom domain isn't working!\nWalk through the steps in [the hosting guide](notes/hosting.md) again. Make sure you wait 30 min to 1 hour for changes to take effect.\n\n### How do I setup Google Analytics?\nYou can edit it in `config.toml` and either use a V3 (UA-) or V4 (G-) tag.\n\n### How do I change the content on the home page?\nTo edit the main home page, open `/content/_index.md`.\n\n### How do I change the colours?\nYou can change the theme by editing `assets/custom.scss`. More details on customization and themeing can be found in the [customization guide](notes/config.md).\n\n### How do I add images?\nYou can put images anywhere in the `/content` folder.\n\n```markdown\nExample image (source is in content/notes/images/example.png)\n![Example Image](/content/notes/images/example.png)\n```\n\n### My Interactive Graph and Backlinks aren't up to date\nBy default, the `linkIndex.json` (which Quartz needs to generate the Interactive Graph and Backlinks) are not regenerated locally. To set that up, see the guide on [local editing](notes/editing.md)\n\n### Can I use React/Vue/some other framework?\nNot out of the box. You could probably make it work by editing `/layouts/_default/single.html` but that's not what Quartz is designed to work with. 99% of things you are trying to do with those frameworks you can accomplish perfectly fine using just vanilla HTML/CSS/JS.\n\n## Still Stuck?\nQuartz isn't perfect! If you're still having troubles, file an issue in the GitHub repo with as much information as you can reasonably provide. Alternatively, you can message me on [Twitter](https://twitter.com/_jzhao) and I'll try to get back to you as soon as I can.\n\nπŸ› [Submit an Issue](https://github.com/jackyzha0/quartz/issues)","lastmodified":"2022-08-01T01:02:50.645412581Z","tags":null},"/notes/updating":{"title":"Updating","content":"\nHaven't updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! This command will show you a log summary of all commits since you last updated, press `q` to acknowledge this. Then, it will show you each change in turn and press `y` to accept the patch or `n` to reject it. Usually you should press `y` for most of these unless it conflicts with existing changes you've made! \n\n```shell\nmake update\n```\n\nOr, if you don't want the interactive parts and just want to force update your local garden (this assumed that you are okay with some of your personalizations been overriden!)\n\n```shell\nmake update-force\n```\n\nOr, manually checkout the changes yourself.\n\n\u003e [!warning] Warning!\n\u003e\n\u003e If you customized the files in `data/`, or anything inside `layouts/`, your customization may be overwritten!\n\u003e Make sure you have a copy of these changes if you don't want to lose them.\n\n\n```shell\n# add Quartz as a remote host\ngit remote add upstream git@github.com:jackyzha0/quartz.git\n\n# index and fetch changes\ngit fetch upstream\ngit checkout -p upstream/hugo -- layouts .github Makefile assets/js assets/styles/base.scss assets/styles/darkmode.scss config.toml data \n```\n","lastmodified":"2022-08-01T01:02:50.645412581Z","tags":null}} \ No newline at end of file diff --git a/indices/linkIndex.2258705b061970aace54cd8b929903f8.min.json b/indices/linkIndex.2258705b061970aace54cd8b929903f8.min.json new file mode 100644 index 000000000..1b2be7144 --- /dev/null +++ b/indices/linkIndex.2258705b061970aace54cd8b929903f8.min.json @@ -0,0 +1 @@ +{"index":{"links":{"/":[{"source":"/","target":"/notes/search","text":"search"},{"source":"/","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support"},{"source":"/","target":"/notes/callouts","text":"Admonition-style callouts"},{"source":"/","target":"/notes/showcase","text":"amazing gardens that community members"},{"source":"/","target":"/notes/philosophy","text":"why I made Quartz"},{"source":"/","target":"/notes/setup","text":"Setup your own digital garden using Quartz"},{"source":"/","target":"/notes/updating","text":"update"},{"source":"/","target":"/tags/setup","text":"setup-related notes"},{"source":"/","target":"/notes/troubleshooting","text":"Troubleshooting and FAQ"}],"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95":[{"source":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","target":"/notes/config","text":"config"}],"/notes/config":[{"source":"/notes/config","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/config","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"}],"/notes/editing":[{"source":"/notes/editing","target":"/notes/obsidian","text":"How to setup your Obsidian Vault to work with Quartz"},{"source":"/notes/editing","target":"/notes/preview-changes","text":"Preview Quartz Changes"},{"source":"/notes/editing","target":"/notes/hosting","text":"Hosting Quartz online!"},{"source":"/notes/editing","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"}],"/notes/hosting":[{"source":"/notes/hosting","target":"/notes/custom-Domain","text":"Learn how to set it up with Quartz"},{"source":"/notes/hosting","target":"/notes/ignore-notes","text":"Excluding pages from being published"},{"source":"/notes/hosting","target":"/notes/config","text":"Customizing Quartz"},{"source":"/notes/hosting","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"}],"/notes/obsidian":[{"source":"/notes/obsidian","target":"/notes/setup","text":"setup"},{"source":"/notes/obsidian","target":"/notes/preview-changes","text":"Preview Quartz Changes"}],"/notes/preview-changes":[{"source":"/notes/preview-changes","target":"/notes/hosting","text":"Hosting Quartz online!"}],"/notes/search":[{"source":"/notes/search","target":"/notes/hosting","text":"hosting"}],"/notes/setup":[{"source":"/notes/setup","target":"/notes/editing","text":"Editing Notes in Quartz"},{"source":"/notes/setup","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"}],"/notes/troubleshooting":[{"source":"/notes/troubleshooting","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/ignore-notes","text":"excluding pages from being published"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/obsidian","text":"Obsidian"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"the 'how to edit' guide"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"the hosting guide"},{"source":"/notes/troubleshooting","target":"/notes/config","text":"customization guide"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"local editing"}]},"backlinks":{"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95":[{"source":"/","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support"},{"source":"/notes/config","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"},{"source":"/notes/troubleshooting","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"}],"/notes/callouts":[{"source":"/","target":"/notes/callouts","text":"Admonition-style callouts"}],"/notes/config":[{"source":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","target":"/notes/config","text":"config"},{"source":"/notes/hosting","target":"/notes/config","text":"Customizing Quartz"},{"source":"/notes/troubleshooting","target":"/notes/config","text":"customization guide"}],"/notes/custom-Domain":[{"source":"/notes/hosting","target":"/notes/custom-Domain","text":"Learn how to set it up with Quartz"}],"/notes/editing":[{"source":"/notes/setup","target":"/notes/editing","text":"Editing Notes in Quartz"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"the 'how to edit' guide"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"local editing"}],"/notes/hosting":[{"source":"/notes/editing","target":"/notes/hosting","text":"Hosting Quartz online!"},{"source":"/notes/preview-changes","target":"/notes/hosting","text":"Hosting Quartz online!"},{"source":"/notes/search","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"the hosting guide"}],"/notes/ignore-notes":[{"source":"/notes/hosting","target":"/notes/ignore-notes","text":"Excluding pages from being published"},{"source":"/notes/troubleshooting","target":"/notes/ignore-notes","text":"excluding pages from being published"}],"/notes/obsidian":[{"source":"/notes/editing","target":"/notes/obsidian","text":"How to setup your Obsidian Vault to work with Quartz"},{"source":"/notes/troubleshooting","target":"/notes/obsidian","text":"Obsidian"}],"/notes/philosophy":[{"source":"/","target":"/notes/philosophy","text":"why I made Quartz"}],"/notes/preview-changes":[{"source":"/notes/editing","target":"/notes/preview-changes","text":"Preview Quartz Changes"},{"source":"/notes/obsidian","target":"/notes/preview-changes","text":"Preview Quartz Changes"}],"/notes/search":[{"source":"/","target":"/notes/search","text":"search"}],"/notes/setup":[{"source":"/","target":"/notes/setup","text":"Setup your own digital garden using Quartz"},{"source":"/notes/obsidian","target":"/notes/setup","text":"setup"}],"/notes/showcase":[{"source":"/","target":"/notes/showcase","text":"amazing gardens that community members"}],"/notes/troubleshooting":[{"source":"/","target":"/notes/troubleshooting","text":"Troubleshooting and FAQ"},{"source":"/notes/config","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/editing","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/hosting","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/setup","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"}],"/notes/updating":[{"source":"/","target":"/notes/updating","text":"update"}],"/tags/setup":[{"source":"/","target":"/tags/setup","text":"setup-related notes"}]}},"links":[{"source":"/","target":"/notes/search","text":"search"},{"source":"/","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support"},{"source":"/","target":"/notes/callouts","text":"Admonition-style callouts"},{"source":"/","target":"/notes/showcase","text":"amazing gardens that community members"},{"source":"/","target":"/notes/philosophy","text":"why I made Quartz"},{"source":"/","target":"/notes/setup","text":"Setup your own digital garden using Quartz"},{"source":"/","target":"/notes/updating","text":"update"},{"source":"/","target":"/tags/setup","text":"setup-related notes"},{"source":"/","target":"/notes/troubleshooting","text":"Troubleshooting and FAQ"},{"source":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","target":"/notes/config","text":"config"},{"source":"/notes/config","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/config","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"},{"source":"/notes/editing","target":"/notes/obsidian","text":"How to setup your Obsidian Vault to work with Quartz"},{"source":"/notes/editing","target":"/notes/preview-changes","text":"Preview Quartz Changes"},{"source":"/notes/editing","target":"/notes/hosting","text":"Hosting Quartz online!"},{"source":"/notes/editing","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/hosting","target":"/notes/custom-Domain","text":"Learn how to set it up with Quartz"},{"source":"/notes/hosting","target":"/notes/ignore-notes","text":"Excluding pages from being published"},{"source":"/notes/hosting","target":"/notes/config","text":"Customizing Quartz"},{"source":"/notes/hosting","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/obsidian","target":"/notes/setup","text":"setup"},{"source":"/notes/obsidian","target":"/notes/preview-changes","text":"Preview Quartz Changes"},{"source":"/notes/preview-changes","target":"/notes/hosting","text":"Hosting Quartz online!"},{"source":"/notes/search","target":"/notes/hosting","text":"hosting"},{"source":"/notes/setup","target":"/notes/editing","text":"Editing Notes in Quartz"},{"source":"/notes/setup","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/troubleshooting","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/ignore-notes","text":"excluding pages from being published"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/obsidian","text":"Obsidian"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"the 'how to edit' guide"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"the hosting guide"},{"source":"/notes/troubleshooting","target":"/notes/config","text":"customization guide"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"local editing"}]} \ No newline at end of file diff --git a/indices/linkIndex.44eacaa8379267f430110554c10592e7.min.json b/indices/linkIndex.44eacaa8379267f430110554c10592e7.min.json deleted file mode 100644 index d471f69e7..000000000 --- a/indices/linkIndex.44eacaa8379267f430110554c10592e7.min.json +++ /dev/null @@ -1 +0,0 @@ -{"index":{"links":{"/":[{"source":"/","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support"},{"source":"/","target":"/notes/callouts","text":"Admonition-style callouts"},{"source":"/","target":"/notes/showcase","text":"amazing gardens that community members"},{"source":"/","target":"/notes/philosophy","text":"why I made Quartz"},{"source":"/","target":"/notes/setup","text":"Setup your own digital garden using Quartz"},{"source":"/","target":"/notes/updating","text":"update"},{"source":"/","target":"/tags/setup","text":"setup-related notes"},{"source":"/","target":"/notes/troubleshooting","text":"Troubleshooting and FAQ"}],"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95":[{"source":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","target":"/notes/config","text":"config"}],"/notes/config":[{"source":"/notes/config","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/config","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"}],"/notes/editing":[{"source":"/notes/editing","target":"/notes/obsidian","text":"How to setup your Obsidian Vault to work with Quartz"},{"source":"/notes/editing","target":"/notes/preview-changes","text":"Preview Quartz Changes"},{"source":"/notes/editing","target":"/notes/hosting","text":"Hosting Quartz online!"},{"source":"/notes/editing","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"}],"/notes/hosting":[{"source":"/notes/hosting","target":"/notes/custom-Domain","text":"Learn how to set it up with Quartz"},{"source":"/notes/hosting","target":"/notes/ignore-notes","text":"Excluding pages from being published"},{"source":"/notes/hosting","target":"/notes/config","text":"Customizing Quartz"},{"source":"/notes/hosting","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"}],"/notes/obsidian":[{"source":"/notes/obsidian","target":"/notes/setup","text":"setup"},{"source":"/notes/obsidian","target":"/notes/preview-changes","text":"Preview Quartz Changes"}],"/notes/preview-changes":[{"source":"/notes/preview-changes","target":"/notes/hosting","text":"Hosting Quartz online!"}],"/notes/setup":[{"source":"/notes/setup","target":"/notes/editing","text":"Editing Notes in Quartz"},{"source":"/notes/setup","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"}],"/notes/troubleshooting":[{"source":"/notes/troubleshooting","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/ignore-notes","text":"excluding pages from being published"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/obsidian","text":"Obsidian"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"the 'how to edit' guide"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"the hosting guide"},{"source":"/notes/troubleshooting","target":"/notes/config","text":"customization guide"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"local editing"}]},"backlinks":{"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95":[{"source":"/","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support"},{"source":"/notes/config","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"},{"source":"/notes/troubleshooting","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"}],"/notes/callouts":[{"source":"/","target":"/notes/callouts","text":"Admonition-style callouts"}],"/notes/config":[{"source":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","target":"/notes/config","text":"config"},{"source":"/notes/hosting","target":"/notes/config","text":"Customizing Quartz"},{"source":"/notes/troubleshooting","target":"/notes/config","text":"customization guide"}],"/notes/custom-Domain":[{"source":"/notes/hosting","target":"/notes/custom-Domain","text":"Learn how to set it up with Quartz"}],"/notes/editing":[{"source":"/notes/setup","target":"/notes/editing","text":"Editing Notes in Quartz"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"the 'how to edit' guide"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"local editing"}],"/notes/hosting":[{"source":"/notes/editing","target":"/notes/hosting","text":"Hosting Quartz online!"},{"source":"/notes/preview-changes","target":"/notes/hosting","text":"Hosting Quartz online!"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"the hosting guide"}],"/notes/ignore-notes":[{"source":"/notes/hosting","target":"/notes/ignore-notes","text":"Excluding pages from being published"},{"source":"/notes/troubleshooting","target":"/notes/ignore-notes","text":"excluding pages from being published"}],"/notes/obsidian":[{"source":"/notes/editing","target":"/notes/obsidian","text":"How to setup your Obsidian Vault to work with Quartz"},{"source":"/notes/troubleshooting","target":"/notes/obsidian","text":"Obsidian"}],"/notes/philosophy":[{"source":"/","target":"/notes/philosophy","text":"why I made Quartz"}],"/notes/preview-changes":[{"source":"/notes/editing","target":"/notes/preview-changes","text":"Preview Quartz Changes"},{"source":"/notes/obsidian","target":"/notes/preview-changes","text":"Preview Quartz Changes"}],"/notes/setup":[{"source":"/","target":"/notes/setup","text":"Setup your own digital garden using Quartz"},{"source":"/notes/obsidian","target":"/notes/setup","text":"setup"}],"/notes/showcase":[{"source":"/","target":"/notes/showcase","text":"amazing gardens that community members"}],"/notes/troubleshooting":[{"source":"/","target":"/notes/troubleshooting","text":"Troubleshooting and FAQ"},{"source":"/notes/config","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/editing","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/hosting","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/setup","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"}],"/notes/updating":[{"source":"/","target":"/notes/updating","text":"update"}],"/tags/setup":[{"source":"/","target":"/tags/setup","text":"setup-related notes"}]}},"links":[{"source":"/","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support"},{"source":"/","target":"/notes/callouts","text":"Admonition-style callouts"},{"source":"/","target":"/notes/showcase","text":"amazing gardens that community members"},{"source":"/","target":"/notes/philosophy","text":"why I made Quartz"},{"source":"/","target":"/notes/setup","text":"Setup your own digital garden using Quartz"},{"source":"/","target":"/notes/updating","text":"update"},{"source":"/","target":"/tags/setup","text":"setup-related notes"},{"source":"/","target":"/notes/troubleshooting","text":"Troubleshooting and FAQ"},{"source":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","target":"/notes/config","text":"config"},{"source":"/notes/config","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/config","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"},{"source":"/notes/editing","target":"/notes/obsidian","text":"How to setup your Obsidian Vault to work with Quartz"},{"source":"/notes/editing","target":"/notes/preview-changes","text":"Preview Quartz Changes"},{"source":"/notes/editing","target":"/notes/hosting","text":"Hosting Quartz online!"},{"source":"/notes/editing","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/hosting","target":"/notes/custom-Domain","text":"Learn how to set it up with Quartz"},{"source":"/notes/hosting","target":"/notes/ignore-notes","text":"Excluding pages from being published"},{"source":"/notes/hosting","target":"/notes/config","text":"Customizing Quartz"},{"source":"/notes/hosting","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/obsidian","target":"/notes/setup","text":"setup"},{"source":"/notes/obsidian","target":"/notes/preview-changes","text":"Preview Quartz Changes"},{"source":"/notes/preview-changes","target":"/notes/hosting","text":"Hosting Quartz online!"},{"source":"/notes/setup","target":"/notes/editing","text":"Editing Notes in Quartz"},{"source":"/notes/setup","target":"/notes/troubleshooting","text":"FAQ and Troubleshooting guide"},{"source":"/notes/troubleshooting","target":"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95","text":"CJK + Latex Support (ζ΅‹θ―•)"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/ignore-notes","text":"excluding pages from being published"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"hosting"},{"source":"/notes/troubleshooting","target":"/notes/obsidian","text":"Obsidian"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"the 'how to edit' guide"},{"source":"/notes/troubleshooting","target":"/notes/hosting","text":"the hosting guide"},{"source":"/notes/troubleshooting","target":"/notes/config","text":"customization guide"},{"source":"/notes/troubleshooting","target":"/notes/editing","text":"local editing"}]} \ No newline at end of file diff --git a/js/full-text-search.0ec5fb908204b9e13989f2c640c0870b.min.js b/js/full-text-search.0ec5fb908204b9e13989f2c640c0870b.min.js new file mode 100644 index 000000000..bd688c349 --- /dev/null +++ b/js/full-text-search.0ec5fb908204b9e13989f2c640c0870b.min.js @@ -0,0 +1 @@ +(async function(){const t=e=>e.toLowerCase().split(/([^a-z]|[^\x00-\x7F])+/),n=new FlexSearch.Document({cache:!0,charset:"latin:extra",optimize:!0,index:[{field:"content",tokenize:"reverse",encode:t},{field:"title",tokenize:"forward",encode:t}]}),{content:e}=await fetchData;for(const[s,t]of Object.entries(e))n.add({id:s,title:t.title,content:removeMarkdown(t.content)});const s=t=>({id:t,url:t,title:e[t].title,content:e[t].content});registerHandlers(t=>{term=t.target.value;const o=n.search(term,[{field:"content",limit:10},{field:"title",limit:5}]),e=t=>{const e=o.filter(e=>e.field===t);return e.length===0?[]:[...e[0].result]},i=new Set([...e("title"),...e("content")]),a=[...i].map(s);displayResults(a,!0)})})() \ No newline at end of file diff --git a/js/semantic-search.ac925545f7c9d1aa9c78eb575088c1a1.min.js b/js/semantic-search.ac925545f7c9d1aa9c78eb575088c1a1.min.js deleted file mode 100644 index 300505c1f..000000000 --- a/js/semantic-search.ac925545f7c9d1aa9c78eb575088c1a1.min.js +++ /dev/null @@ -1 +0,0 @@ -const apiKey="1e47d93b-1468-45b7-98d5-7f733d5e45e2";async function searchContents(e){const t=await fetch("https://prod.operand.ai/v3/search/objects",{method:"POST",headers:{'Content-Type':"application/json",Authorization:apiKey},body:JSON.stringify({query:e,max:10})});return await t.json()}function debounce(t,n=300){let e;return(...s)=>{clearTimeout(e),e=setTimeout(()=>{t.apply(this,s)},n)}}registerHandlers(debounce(e=>{term=e.target.value,term!==""&&searchContents(term).then(e=>e.results.map(e=>({url:e.object.properties.url,content:e.snippet,title:e.object.metadata.title}))).then(e=>displayResults(e))})) \ No newline at end of file diff --git a/linkmap b/linkmap index 160ab6ebb..fddff7f87 100644 --- a/linkmap +++ b/linkmap @@ -1,15 +1,16 @@ +/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/index.{html} /notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/ +/notes/config/index.{html} /notes/config/ +/notes/hosting/index.{html} /notes/hosting/ /notes/obsidian/index.{html} /notes/obsidian/ /notes/preview-changes/index.{html} /notes/preview-changes/ +/notes/search/index.{html} /notes/search/ +/notes/updating/index.{html} /notes/updating/ +/notes/philosophy/index.{html} /notes/philosophy/ /notes/setup/index.{html} /notes/setup/ /index.html / -/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/index.{html} /notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/ -/notes/ignore-notes/index.{html} /notes/ignore-notes/ -/notes/showcase/index.{html} /notes/showcase/ -/notes/troubleshooting/index.{html} /notes/troubleshooting/ /notes/callouts/index.{html} /notes/callouts/ -/notes/updating/index.{html} /notes/updating/ -/notes/hosting/index.{html} /notes/hosting/ -/notes/philosophy/index.{html} /notes/philosophy/ -/notes/config/index.{html} /notes/config/ -/notes/custom-Domain/index.{html} /notes/custom-Domain/ /notes/editing/index.{html} /notes/editing/ +/notes/ignore-notes/index.{html} /notes/ignore-notes/ +/notes/troubleshooting/index.{html} /notes/troubleshooting/ +/notes/custom-Domain/index.{html} /notes/custom-Domain/ +/notes/showcase/index.{html} /notes/showcase/ diff --git a/notes/CJK-+-Latex-Support-ζ΅‹θ―•/index.html b/notes/CJK-+-Latex-Support-ζ΅‹θ―•/index.html index e5f03ce9e..908525c7c 100644 --- a/notes/CJK-+-Latex-Support-ζ΅‹θ―•/index.html +++ b/notes/CJK-+-Latex-Support-ζ΅‹θ―•/index.html @@ -11,11 +11,12 @@ Latex Block math works with two dollar signs $$.">CJK + Latex Support ( <script src=https://quartz.jzhao.xyz/js/code-title.b35124ad8db0ba37162b886afb711cbc.min.js></script> <script src=https://quartz.jzhao.xyz/js/clipboard.c20857734e53a3fb733b7443879efa61.min.js></script> <script src=https://quartz.jzhao.xyz/js/callouts.7723cac461d613d118ee8bb8216b9838.min.js></script> -<script>const BASE_URL="https://quartz.jzhao.xyz/",fetchData=Promise.all([fetch("https://quartz.jzhao.xyz/indices/linkIndex.44eacaa8379267f430110554c10592e7.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://quartz.jzhao.xyz/indices/contentIndex.399b37fb8f71051546679b5c03c37f0a.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const n=new URL(BASE_URL),s=n.pathname,o=window.location.pathname,i=s==o;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts();const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=i&&!1;drawGraph("https://quartz.jzhao.xyz",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2}),initPopover("https://quartz.jzhao.xyz",!0,!0)},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],throwOnError:!1})}</script><script type=module> +<script>const BASE_URL="https://quartz.jzhao.xyz/",fetchData=Promise.all([fetch("https://quartz.jzhao.xyz/indices/linkIndex.2258705b061970aace54cd8b929903f8.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://quartz.jzhao.xyz/indices/contentIndex.7055000c8175e3f0db99f8547e9f7822.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const n=new URL(BASE_URL),s=n.pathname,o=window.location.pathname,i=s==o;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts();const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=i&&!1;drawGraph("https://quartz.jzhao.xyz",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2}),initPopover("https://quartz.jzhao.xyz",!0,!0)},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],throwOnError:!1})}</script><script type=module> import { attachSPARouting } from "https:\/\/quartz.jzhao.xyz\/js\/router.9d4974281069e9ebb189f642ae1e3ca2.min.js" attachSPARouting(init, render) </script></head><script async src="https://www.googletagmanager.com/gtag/js?id=G-XYFD95KB4J"></script> -<script>var doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-XYFD95KB4J",{anonymize_ip:!1})}</script><body><div id=search-container><div id=search-space><input autocomplete=off id=search-bar name=search type=text aria-label=Search placeholder="Search for something..."><div id=results-container></div></div></div><script defer src=https://quartz.jzhao.xyz/js/semantic-search.ac925545f7c9d1aa9c78eb575088c1a1.min.js></script><div class=singlePage><header><h1 id=page-title><a href=https://quartz.jzhao.xyz/>πŸͺ΄ Quartz 3.2</a></h1><div class=spacer></div><div id=search-icon><p>Search</p><svg tabindex="0" aria-labelledby="title desc" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.9 19.7"><title id="title">Search IconIcon to open search

+
+

πŸͺ΄ Quartz 3.2

Search

Search IconIcon to open search

CJK + Latex Support (ζ΅‹θ―•)

Last updated Unknown Edit Source

    # Chinese, Japanese, Korean Support

    ε‡ δΉŽεœ¨ζˆ‘δ»¬ζ„θ―†εˆ°δΉ‹ε‰οΌŒζˆ‘δ»¬ε·²η»η¦»εΌ€δΊ†εœ°ι’γ€‚

    μš°λ¦¬κ°€ 그것을 μ•ŒκΈ°λ„ 전에 μš°λ¦¬λŠ” 땅을 λ– λ‚¬μŠ΅λ‹ˆλ‹€.

    η§γŸγ‘γŒγγ‚Œγ‚’ηŸ₯γ‚‹γ»γΌε‰γ«γ€η§γŸγ‘γ―εœ°ι’γ‚’ι›’γ‚Œγ¦γ„γΎγ—γŸγ€‚

    # Latex

    Block math works with two dollar signs $$...$$

    $$f(x) = \int_{-\infty}^\infty diff --git a/notes/callouts/index.html b/notes/callouts/index.html index b3eb4f07e..7fdf2b085 100644 --- a/notes/callouts/index.html +++ b/notes/callouts/index.html @@ -10,11 +10,12 @@ This includes - -

    πŸͺ΄ Quartz 3.2

    Search

    Search IconIcon to open search
    +
    +

    πŸͺ΄ Quartz 3.2

    Search

    Search IconIcon to open search

    Callouts

    Last updated Jul 30, 2022 Edit Source

      # Callout support

      Quartz supports the same Admonition-callout syntax as Obsidian.

      This includes

      • 12 Distinct callout types (each with several aliases)
      • Collapsable callouts

      See diff --git a/notes/config/index.html b/notes/config/index.html index dd2d543fa..bac9e9902 100644 --- a/notes/config/index.html +++ b/notes/config/index.html @@ -8,11 +8,12 @@ - -

      πŸͺ΄ Quartz 3.2

      Search

      Search IconIcon to open search
      +
      +

      πŸͺ΄ Quartz 3.2

      Search

      Search IconIcon to open search

      Configuration

      Last updated Jul 31, 2022 Edit Source

      # Configuration

      Quartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you’d like to get.

      The majority of configuration can be found under data/config.yaml. An annotated example configuration is shown below.

       1
      @@ -80,6 +81,8 @@ Jul 31, 2022
       63
       64
       65
      +66
      +67
       
      # The name to display in the footer
       name: Jacky Zhao
       
      @@ -121,14 +124,16 @@ Jul 31, 2022
       # whether to show a section of recent notes on the home page
       enableRecentNotes: false
       
      -# whether to display and 'edit' button next to the last edited field
      +# whether to display an 'edit' button next to the last edited field
       # that links to github
       enableGitHubEdit: true
       GitHubLink: https://github.com/jackyzha0/quartz/tree/hugo/content
       
       # whether to use Operand to power semantic search
      -enableSemanticSearch: true
      -operandApiKey: "1e47d93b-1468-45b7-98d5-7f733d5e45e2"
      +# IMPORTANT: replace this API key with your own if you plan on using
      +# Operand search!
      +enableSemanticSearch: false
      +operandApiKey: "REPLACE-WITH-YOUR-OPERAND-API-KEY"
       
       # page description used for SEO
       description:
      diff --git a/notes/custom-Domain/index.html b/notes/custom-Domain/index.html
      index 15630c4b2..a53c06b61 100644
      --- a/notes/custom-Domain/index.html
      +++ b/notes/custom-Domain/index.html
      @@ -8,11 +8,12 @@
       
       
       
      -
      -

      πŸͺ΄ Quartz 3.2

      Search

      Search IconIcon to open search
      +
      +

      πŸͺ΄ Quartz 3.2

      Search

      Search IconIcon to open search

      Custom Domain

      Last updated Jan 27, 2022 Edit Source

        # Registrar

        This step is only applicable if you are using a custom domain! If you are using a <YOUR-USERNAME>.github.io domain, you can skip this step.

        For this last bit to take effect, you also need to create a CNAME record with the DNS provider you register your domain with (i.e. NameCheap, Google Domains).

        GitHub has some diff --git a/notes/editing/index.html b/notes/editing/index.html index 3864de83b..441c30bf7 100644 --- a/notes/editing/index.html +++ b/notes/editing/index.html @@ -9,11 +9,12 @@ Folder Structure Here’s a rough overview of what’s what.">Edi <script src=https://quartz.jzhao.xyz/js/code-title.b35124ad8db0ba37162b886afb711cbc.min.js></script> <script src=https://quartz.jzhao.xyz/js/clipboard.c20857734e53a3fb733b7443879efa61.min.js></script> <script src=https://quartz.jzhao.xyz/js/callouts.7723cac461d613d118ee8bb8216b9838.min.js></script> -<script>const BASE_URL="https://quartz.jzhao.xyz/",fetchData=Promise.all([fetch("https://quartz.jzhao.xyz/indices/linkIndex.44eacaa8379267f430110554c10592e7.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://quartz.jzhao.xyz/indices/contentIndex.399b37fb8f71051546679b5c03c37f0a.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const n=new URL(BASE_URL),s=n.pathname,o=window.location.pathname,i=s==o;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts();const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=i&&!1;drawGraph("https://quartz.jzhao.xyz",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2}),initPopover("https://quartz.jzhao.xyz",!0,!0)},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],throwOnError:!1})}</script><script type=module> +<script>const BASE_URL="https://quartz.jzhao.xyz/",fetchData=Promise.all([fetch("https://quartz.jzhao.xyz/indices/linkIndex.2258705b061970aace54cd8b929903f8.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://quartz.jzhao.xyz/indices/contentIndex.7055000c8175e3f0db99f8547e9f7822.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const n=new URL(BASE_URL),s=n.pathname,o=window.location.pathname,i=s==o;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts();const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=i&&!1;drawGraph("https://quartz.jzhao.xyz",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2}),initPopover("https://quartz.jzhao.xyz",!0,!0)},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],throwOnError:!1})}</script><script type=module> import { attachSPARouting } from "https:\/\/quartz.jzhao.xyz\/js\/router.9d4974281069e9ebb189f642ae1e3ca2.min.js" attachSPARouting(init, render) </script></head><script async src="https://www.googletagmanager.com/gtag/js?id=G-XYFD95KB4J"></script> -<script>var doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-XYFD95KB4J",{anonymize_ip:!1})}</script><body><div id=search-container><div id=search-space><input autocomplete=off id=search-bar name=search type=text aria-label=Search placeholder="Search for something..."><div id=results-container></div></div></div><script defer src=https://quartz.jzhao.xyz/js/semantic-search.ac925545f7c9d1aa9c78eb575088c1a1.min.js></script><div class=singlePage><header><h1 id=page-title><a href=https://quartz.jzhao.xyz/>πŸͺ΄ Quartz 3.2</a></h1><div class=spacer></div><div id=search-icon><p>Search</p><svg tabindex="0" aria-labelledby="title desc" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.9 19.7"><title id="title">Search IconIcon to open search

        +
        +

        πŸͺ΄ Quartz 3.2

        Search

        Search IconIcon to open search

        Editing Content in Quartz

        Last updated Jun 29, 2022 Edit Source

        # Editing

        Quartz runs on top of diff --git a/notes/hosting/index.html b/notes/hosting/index.html index 546fe9588..9510e1a47 100644 --- a/notes/hosting/index.html +++ b/notes/hosting/index.html @@ -8,11 +8,12 @@ - -

        πŸͺ΄ Quartz 3.2

        Search

        Search IconIcon to open search
        +
        +

        πŸͺ΄ Quartz 3.2

        Search

        Search IconIcon to open search

        Deploying Quartz to the Web

        Last updated Jul 1, 2022 Edit Source

        # Hosting on GitHub Pages

        Quartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go! Follow the steps below.

        # Enable GitHub Actions

        By default, GitHub disables workflows from running automatically on Forked Repostories. Head to the ‘Actions’ tab of your forked repository and Enable Workflows to setup deploying your Quartz site!

        Enable GitHub ActionsEnable GitHub Actions

        # Enable GitHub Pages

        Head to the ‘Settings’ tab of your forked repository and go to the ‘Pages’ tab.

        1. (IMPORTANT) Set the source to deploy from master (and not hugo) using / (root)
        2. Set a custom domain here if you have one!

        Enable GitHub PagesEnable GitHub Pages

        # Pushing Changes

        To see your changes on the internet, we need to push it them to GitHub. Quartz is a git repository so updating it is the same workflow as you would follow as if it were just a regular software project.

        1
        @@ -55,4 +56,4 @@ Jul 1, 2022
         Learn how to set it up with Quartz .

        # Ignoring Files

        Only want to publish a subset of all of your notes? Don’t worry, Quartz makes this a simple two-step process.

        ❌ Excluding pages from being published


        Now that your Quartz is live, let’s figure out how to make Quartz really yours!

        Step 6: 🎨 Customizing Quartz

        Having problems? Checkout our -FAQ and Troubleshooting guide.


        Interactive Graph

        \ No newline at end of file +FAQ and Troubleshooting guide.


        Interactive Graph

        \ No newline at end of file diff --git a/notes/ignore-notes/index.html b/notes/ignore-notes/index.html index 4a0a488d7..311855daa 100644 --- a/notes/ignore-notes/index.html +++ b/notes/ignore-notes/index.html @@ -9,11 +9,12 @@ - -

        πŸͺ΄ Quartz 3.2

        Search

        Search IconIcon to open search
        +
        +

        πŸͺ΄ Quartz 3.2

        Search

        Search IconIcon to open search

        Ignoring Notes

        Last updated Nov 20, 2021 Edit Source

          # Quartz Ignore

          Edit ignoreFiles in config.toml to include paths you’d like to exclude from being rendered.

          1
          diff --git a/notes/index.html b/notes/index.html
          index 47c41bd09..93ad251a5 100644
          --- a/notes/index.html
          +++ b/notes/index.html
          @@ -8,9 +8,10 @@
           
           
           
          -
          -

          πŸͺ΄ Quartz 3.2

          Search

          Search IconIcon to open search
          -
          \ No newline at end of file +
          +

          πŸͺ΄ Quartz 3.2

          Search

          Search IconIcon to open search
          +
          \ No newline at end of file diff --git a/notes/index.xml b/notes/index.xml index 4c8169989..6334cc786 100644 --- a/notes/index.xml +++ b/notes/index.xml @@ -5,6 +5,7 @@ This includes μš°λ¦¬κ°€ 그것을 μ•ŒκΈ°λ„ 전에 μš°λ¦¬λŠ” 땅을 λ– λ‚¬μŠ΅λ‹ˆλ‹€. η§γŸγ‘γŒγγ‚Œγ‚’ηŸ₯γ‚‹γ»γΌε‰γ«γ€η§γŸγ‘γ―εœ°ι’γ‚’ι›’γ‚Œγ¦γ„γΎγ—γŸγ€‚ Latex Block math works with two dollar signs $$.Configurationhttps://quartz.jzhao.xyz/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/config/Configuration Quartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you&rsquo;d like to get.Custom Domainhttps://quartz.jzhao.xyz/notes/custom-Domain/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/custom-Domain/Registrar This step is only applicable if you are using a custom domain! If you are using a &lt;YOUR-USERNAME&gt;.github.io domain, you can skip this step.Ignoring Noteshttps://quartz.jzhao.xyz/notes/ignore-notes/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/ignore-notes/Quartz Ignore Edit ignoreFiles in config.toml to include paths you&rsquo;d like to exclude from being rendered. -1 2 3 4 5 6 .Quartz Philosophyhttps://quartz.jzhao.xyz/notes/philosophy/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/philosophy/β€œ[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.Showcasehttps://quartz.jzhao.xyz/notes/showcase/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/showcase/Want to see what Quartz can do? Here are some cool community gardens :) +1 2 3 4 5 6 .Quartz Philosophyhttps://quartz.jzhao.xyz/notes/philosophy/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/philosophy/β€œ[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.Searchhttps://quartz.jzhao.xyz/notes/search/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/search/Quartz supports two modes of searching through content. +Full-text Full-text search is the default in Quartz. It produces results that exactly match the search query.Showcasehttps://quartz.jzhao.xyz/notes/showcase/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/showcase/Want to see what Quartz can do? Here are some cool community gardens :) Quartz Documentation (this site!) Jacky Zhao&rsquo;s Garden Scaling Synthesis - A hypertext research notebook AWAGMI Intern Notes Shihyu&rsquo;s PKM Chloe&rsquo;s Garden SlRvb&rsquo;s Site Course notes for Information Technology Advanced Theory Brandon Boswell&rsquo;s Garden Siyang&rsquo;s Courtyard If you want to see your own on here, submit a Pull Request adding yourself to this file!Troubleshooting and FAQhttps://quartz.jzhao.xyz/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/troubleshooting/Still having trouble? Here are a list of common questions and problems people encounter when installing Quartz. While you&rsquo;re here, join our Discord :)Updatinghttps://quartz.jzhao.xyz/notes/updating/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/updating/Haven&rsquo;t updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! \ No newline at end of file diff --git a/notes/obsidian/index.html b/notes/obsidian/index.html index 73b8b78f7..c5c1dad62 100644 --- a/notes/obsidian/index.html +++ b/notes/obsidian/index.html @@ -8,11 +8,12 @@ - -

          πŸͺ΄ Quartz 3.2

          Search

          Search IconIcon to open search
          +
          +

          πŸͺ΄ Quartz 3.2

          Search

          Search IconIcon to open search

          Obsidian Vault Integration

          Last updated Jun 29, 2022 Edit Source

          # Setup

          Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.

          # New Vault

          If you don’t have an existing Vault, diff --git a/notes/page/2/index.html b/notes/page/2/index.html index 39cbb1a35..e617bbf3f 100644 --- a/notes/page/2/index.html +++ b/notes/page/2/index.html @@ -8,9 +8,10 @@ - -

          πŸͺ΄ Quartz 3.2

          Search

          Search IconIcon to open search
          -
          \ No newline at end of file +
          +

          πŸͺ΄ Quartz 3.2

          Search

          Search IconIcon to open search
          +
          \ No newline at end of file diff --git a/notes/philosophy/index.html b/notes/philosophy/index.html index 21ab66c16..37ff47ebe 100644 --- a/notes/philosophy/index.html +++ b/notes/philosophy/index.html @@ -8,11 +8,12 @@ - -

          πŸͺ΄ Quartz 3.2

          Search

          Search IconIcon to open search
          +
          +

          πŸͺ΄ Quartz 3.2

          Search

          Search IconIcon to open search

          Quartz Philosophy

          Last updated Nov 20, 2021 Edit Source

            β€œ[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” β€” Richard Hamming

            # Why Quartz?

            Hosting a public digital garden isn’t easy. There are an overwhelming number of tutorials, resources, and guides for tools like diff --git a/notes/preview-changes/index.html b/notes/preview-changes/index.html index 77628625c..a3346398f 100644 --- a/notes/preview-changes/index.html +++ b/notes/preview-changes/index.html @@ -8,17 +8,18 @@ - -

            πŸͺ΄ Quartz 3.2

            Search

            Search IconIcon to open search
            +
            +

            πŸͺ΄ Quartz 3.2

            Search

            Search IconIcon to open search

            Preview Changes

            Last updated -Jul 13, 2022 +Jul 31, 2022 Edit Source

            If you’d like to preview what your Quartz site looks like before deploying it to the internet, here’s exactly how to do that!

            Note that both of these steps need to be completed.

            # Install hugo-obsidian

            This step will generate the list of backlinks for Hugo to parse. Ensure you have Go (>= 1.16) installed.

            1
             2
            -
            # Install and link `hugo-obsidian` locally
            +
            # Install and link `hugo-obsidian` locally
             go install github.com/jackyzha0/hugo-obsidian@latest
             

            If you are running into an error saying that command not found: hugo-obsidian, make sure you set your GOPATH correctly! This will allow your terminal to correctly recognize hugo-obsidian as an executable.

            Afterwards, start the Hugo server as shown above and your local backlinks and interactive graph should be populated!

            # Installing Hugo

            Hugo is the static site generator that powers Quartz. Install Hugo with “extended” Sass/SCSS version first. Then,

            1
            @@ -28,12 +29,12 @@ Jul 13, 2022
             5
             6
             7
            -
            # Navigate to your local Quartz folder
            -cd <location-of-your-local-quartz>
            +
            # Navigate to your local Quartz folder
            +cd <location-of-your-local-quartz>
             
            -# Start local server
            +# Start local server
             make serve
             
            -# View your site in a browser at http://localhost:1313/
            +# View your site in a browser at http://localhost:1313/
             

            🌍 Step 5: Hosting Quartz online!


            Interactive Graph

            \ No newline at end of file diff --git a/notes/search/index.html b/notes/search/index.html new file mode 100644 index 000000000..e3a527c0d --- /dev/null +++ b/notes/search/index.html @@ -0,0 +1,32 @@ +Search + + + + + + + + + + +
            +

            πŸͺ΄ Quartz 3.2

            Search

            Search IconIcon to open search
            +

            Search

            Last updated +Jul 31, 2022 +Edit Source

              Quartz supports two modes of searching through content.

              # Full-text

              Full-text search is the default in Quartz. It produces results that exactly match the search query. This is easier to setup but usually produces lower quality matches.

              1
              +2
              +
              # the default option
              +enableSemanticSearch: false
              +

              # Natural Language

              Natural language search is powered by +Operand. It understands language like a person does and finds results that best match user intent. In this sense, it is closer to how Google Search works.

              Natural language search tends to produce higher quality results than full-text search.

              Here’s how to set it up.

              1. Create an Operand Account on +their website.
              2. Go to Dashboard > Settings > Integrations.
              3. Follow the steps to setup the GitHub integration. Operand needs access to GitHub in order to index your digital garden properly!
              4. Head over to Dashboard > Objects and press (Cmd + K) to open the omnibar and select ‘Create Collection’.
                1. Set the ‘Collection Label’ to something that will help you remember it.
                2. You can leave the ‘Parent Collection’ field empty.
              5. Click into your newly made Collection.
                1. Press the ‘share’ button that looks like three dots connected by lines.
                2. Set the ‘Interface Type’ to object-search and click ‘Create’.
                3. This will bring you to a new page with a search bar. Ignore this for now.
              6. Go back to Dashboard > Settings > API Keys and find your Quartz-specific Operand API key under ‘Other keys’.
                1. Copy the key (which looks something like 0e733a7f-9b9c-48c6-9691-b54fa1c8b910).
                2. Open data/config.yaml. Set enableSemanticSearch to true and operandApiKey to your copied key.
              1
              +2
              +3
              +
              # the default option
              +enableSemanticSearch: true
              +operandApiKey: "0e733a7f-9b9c-48c6-9691-b54fa1c8b910"
              +
              1. Make a commit and push your changes to GitHub. See the hosting page if you haven’t done this already.
                1. This step is required for Operand to be able to properly index your content.
                2. Head over to Dashboard > Objects and select the collection that you made earlier
              2. Press (Cmd + K) to open the omnibar again and select ‘Create GitHub Repo’
                1. Set the ‘Repository Label’ to Quartz
                2. Set the ‘Repository Owner’ to your GitHub username
                3. Set the ‘Repository Ref’ to master
                4. Set the ‘Repository Name’ to the name of your repository (usually just quartz if you forked the repository without changing the name)
                5. Leave ‘Root Path’ and ‘Root URL’ empty
              3. Wait for your repository to index and enjoy natural language search in Quartz!

              Interactive Graph

              \ No newline at end of file diff --git a/notes/setup/index.html b/notes/setup/index.html index 04ba5d15c..ce0ac0bc8 100644 --- a/notes/setup/index.html +++ b/notes/setup/index.html @@ -8,11 +8,12 @@ - -

              πŸͺ΄ Quartz 3.2

              Search

              Search IconIcon to open search
              +
              +

              πŸͺ΄ Quartz 3.2

              Search

              Search IconIcon to open search

              Setup

              Last updated Jul 13, 2022 Edit Source

              # Making your own Quartz

              Setting up Quartz requires a basic understanding of git. If you are unfamiliar, diff --git a/notes/showcase/index.html b/notes/showcase/index.html index fda9601f9..240a4c0db 100644 --- a/notes/showcase/index.html +++ b/notes/showcase/index.html @@ -9,11 +9,12 @@ - -

              πŸͺ΄ Quartz 3.2

              Search

              Search IconIcon to open search
              +
              +

              πŸͺ΄ Quartz 3.2

              Search

              Search IconIcon to open search

              Showcase

              Last updated Jul 19, 2022 Edit Source

                Want to see what Quartz can do? Here are some cool community gardens :)

                If you want to see your own on here, submit a diff --git a/notes/troubleshooting/index.html b/notes/troubleshooting/index.html index 04149db56..0f31e66e8 100644 --- a/notes/troubleshooting/index.html +++ b/notes/troubleshooting/index.html @@ -9,11 +9,12 @@ While you’re here, join our Discord :)">Troubleshooting and FAQ</ti <script src=https://quartz.jzhao.xyz/js/code-title.b35124ad8db0ba37162b886afb711cbc.min.js></script> <script src=https://quartz.jzhao.xyz/js/clipboard.c20857734e53a3fb733b7443879efa61.min.js></script> <script src=https://quartz.jzhao.xyz/js/callouts.7723cac461d613d118ee8bb8216b9838.min.js></script> -<script>const BASE_URL="https://quartz.jzhao.xyz/",fetchData=Promise.all([fetch("https://quartz.jzhao.xyz/indices/linkIndex.44eacaa8379267f430110554c10592e7.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://quartz.jzhao.xyz/indices/contentIndex.399b37fb8f71051546679b5c03c37f0a.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const n=new URL(BASE_URL),s=n.pathname,o=window.location.pathname,i=s==o;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts();const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=i&&!1;drawGraph("https://quartz.jzhao.xyz",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2}),initPopover("https://quartz.jzhao.xyz",!0,!0)},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],throwOnError:!1})}</script><script type=module> +<script>const BASE_URL="https://quartz.jzhao.xyz/",fetchData=Promise.all([fetch("https://quartz.jzhao.xyz/indices/linkIndex.2258705b061970aace54cd8b929903f8.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://quartz.jzhao.xyz/indices/contentIndex.7055000c8175e3f0db99f8547e9f7822.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const n=new URL(BASE_URL),s=n.pathname,o=window.location.pathname,i=s==o;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts();const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=i&&!1;drawGraph("https://quartz.jzhao.xyz",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2}),initPopover("https://quartz.jzhao.xyz",!0,!0)},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],throwOnError:!1})}</script><script type=module> import { attachSPARouting } from "https:\/\/quartz.jzhao.xyz\/js\/router.9d4974281069e9ebb189f642ae1e3ca2.min.js" attachSPARouting(init, render) </script></head><script async src="https://www.googletagmanager.com/gtag/js?id=G-XYFD95KB4J"></script> -<script>var doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-XYFD95KB4J",{anonymize_ip:!1})}</script><body><div id=search-container><div id=search-space><input autocomplete=off id=search-bar name=search type=text aria-label=Search placeholder="Search for something..."><div id=results-container></div></div></div><script defer src=https://quartz.jzhao.xyz/js/semantic-search.ac925545f7c9d1aa9c78eb575088c1a1.min.js></script><div class=singlePage><header><h1 id=page-title><a href=https://quartz.jzhao.xyz/>πŸͺ΄ Quartz 3.2</a></h1><div class=spacer></div><div id=search-icon><p>Search</p><svg tabindex="0" aria-labelledby="title desc" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.9 19.7"><title id="title">Search IconIcon to open search

                +
                +

                πŸͺ΄ Quartz 3.2

                Search

                Search IconIcon to open search

                Troubleshooting and FAQ

                Last updated Apr 2, 2022 Edit Source

                  Still having trouble? Here are a list of common questions and problems people encounter when installing Quartz.

                  While you’re here, join our diff --git a/notes/updating/index.html b/notes/updating/index.html index 3cd8e5ab0..25af71556 100644 --- a/notes/updating/index.html +++ b/notes/updating/index.html @@ -8,11 +8,12 @@ - -

                  πŸͺ΄ Quartz 3.2

                  Search

                  Search IconIcon to open search
                  +
                  +

                  πŸͺ΄ Quartz 3.2

                  Search

                  Search IconIcon to open search

                  Updating

                  Last updated Jul 30, 2022 Edit Source

                    Haven’t updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! This command will show you a log summary of all commits since you last updated, press q to acknowledge this. Then, it will show you each change in turn and press y to accept the patch or n to reject it. Usually you should press y for most of these unless it conflicts with existing changes you’ve made!

                    1
                    diff --git a/sitemap.xml b/sitemap.xml
                    index cd99e4d99..f8e746afc 100644
                    --- a/sitemap.xml
                    +++ b/sitemap.xml
                    @@ -1 +1 @@
                    -https://quartz.jzhao.xyz/notes/setup/2022-07-13T23:37:54-07:00https://quartz.jzhao.xyz/notes/editing/2022-06-29T17:17:53-07:00https://quartz.jzhao.xyz/notes/obsidian/2022-06-29T17:03:41-07:00https://quartz.jzhao.xyz/notes/preview-changes/2022-07-13T23:37:54-07:00https://quartz.jzhao.xyz/notes/hosting/2022-07-01T11:27:50-07:00https://quartz.jzhao.xyz/notes/callouts/2022-07-30T18:46:19-07:00https://quartz.jzhao.xyz/categories/https://quartz.jzhao.xyz/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/https://quartz.jzhao.xyz/notes/config/2022-07-31T12:16:36-07:00https://quartz.jzhao.xyz/notes/custom-Domain/2022-01-27T09:38:28-08:00https://quartz.jzhao.xyz/notes/ignore-notes/2021-11-20T22:53:26-08:00https://quartz.jzhao.xyz/notes/2022-07-31T12:16:36-07:00https://quartz.jzhao.xyz/notes/philosophy/2021-11-20T22:53:26-08:00https://quartz.jzhao.xyz/tags/setup/2022-07-31T12:16:36-07:00https://quartz.jzhao.xyz/notes/showcase/2022-07-19T09:03:19-07:00https://quartz.jzhao.xyz/tags/2022-07-31T12:16:36-07:00https://quartz.jzhao.xyz/notes/troubleshooting/2022-04-02T17:38:39-07:00https://quartz.jzhao.xyz/notes/updating/2022-07-30T18:46:19-07:00https://quartz.jzhao.xyz/2022-07-30T18:46:19-07:00
                    \ No newline at end of file
                    +https://quartz.jzhao.xyz/notes/setup/2022-07-13T23:37:54-07:00https://quartz.jzhao.xyz/notes/editing/2022-06-29T17:17:53-07:00https://quartz.jzhao.xyz/notes/obsidian/2022-06-29T17:03:41-07:00https://quartz.jzhao.xyz/notes/preview-changes/2022-07-31T18:02:06-07:00https://quartz.jzhao.xyz/notes/hosting/2022-07-01T11:27:50-07:00https://quartz.jzhao.xyz/notes/callouts/2022-07-30T18:46:19-07:00https://quartz.jzhao.xyz/categories/https://quartz.jzhao.xyz/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/https://quartz.jzhao.xyz/notes/config/2022-07-31T18:02:06-07:00https://quartz.jzhao.xyz/notes/custom-Domain/2022-01-27T09:38:28-08:00https://quartz.jzhao.xyz/notes/ignore-notes/2021-11-20T22:53:26-08:00https://quartz.jzhao.xyz/notes/2022-07-31T18:02:06-07:00https://quartz.jzhao.xyz/notes/philosophy/2021-11-20T22:53:26-08:00https://quartz.jzhao.xyz/notes/search/2022-07-31T18:02:06-07:00https://quartz.jzhao.xyz/tags/setup/2022-07-31T18:02:06-07:00https://quartz.jzhao.xyz/notes/showcase/2022-07-19T09:03:19-07:00https://quartz.jzhao.xyz/tags/2022-07-31T18:02:06-07:00https://quartz.jzhao.xyz/notes/troubleshooting/2022-04-02T17:38:39-07:00https://quartz.jzhao.xyz/notes/updating/2022-07-30T18:46:19-07:00https://quartz.jzhao.xyz/2022-07-31T18:02:06-07:00
                    \ No newline at end of file
                    diff --git a/tags/index.html b/tags/index.html
                    index 3b4c84e3e..1a947951d 100644
                    --- a/tags/index.html
                    +++ b/tags/index.html
                    @@ -8,9 +8,10 @@
                     
                     
                     
                    -
                    -

                    πŸͺ΄ Quartz 3.2

                    Search

                    Search IconIcon to open search
                    -
                    \ No newline at end of file +
                    +

                    πŸͺ΄ Quartz 3.2

                    Search

                    Search IconIcon to open search
                    +
                    \ No newline at end of file diff --git a/tags/setup/index.html b/tags/setup/index.html index f3b0ec595..a47c4b5f8 100644 --- a/tags/setup/index.html +++ b/tags/setup/index.html @@ -8,9 +8,10 @@ - -

                    πŸͺ΄ Quartz 3.2

                    Search

                    Search IconIcon to open search
                    -
                    \ No newline at end of file +
                    +

                    πŸͺ΄ Quartz 3.2

                    Search

                    Search IconIcon to open search
                    +
                    \ No newline at end of file