commit 167e9cb58425797649d337a6cf5bbb47039a2344 Author: falsycat Date: Thu Feb 23 09:37:53 2023 +0000 deploy: 5cbc22f4a490dadddf2d9d85372b3b3cd53cb4c9 diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..14d14d5 --- /dev/null +++ b/404.html @@ -0,0 +1,17 @@ +404 Page not found + + + + + + + + + + + +
+

404.

Hey! You look a little lost. This page doesn't exist (or may be private).

↳ Let's get you home.
\ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..dad8b2b --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +ar.falsy.cat diff --git a/categories/index.html b/categories/index.html new file mode 100644 index 0000000..b155ae5 --- /dev/null +++ b/categories/index.html @@ -0,0 +1,18 @@ +Categories + + + + + + + + + + + +
+

🪴 Quartz 3.3

Search

Search IconIcon to open search
+
\ No newline at end of file diff --git a/categories/index.xml b/categories/index.xml new file mode 100644 index 0000000..594bbde --- /dev/null +++ b/categories/index.xml @@ -0,0 +1 @@ +Categories onhttps://falsy.cat/categories/Recent content in Categories onHugo -- gohugo.ioen-us \ No newline at end of file diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..b6656a7 Binary files /dev/null and b/icon.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..c9c1476 --- /dev/null +++ b/index.html @@ -0,0 +1,18 @@ +falsycat archive + + + + + + + + + + + +
+

🪴 Quartz 3.3

Search

Search IconIcon to open search
+

調べたことをまとめていく


\ No newline at end of file diff --git a/index.xml b/index.xml new file mode 100644 index 0000000..82eadda --- /dev/null +++ b/index.xml @@ -0,0 +1,11 @@ +falsycat archive onhttps://falsy.cat/Recent content in falsycat archive onHugo -- gohugo.ioen-usSetuphttps://falsy.cat/notes/setup/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/setup/Making your own Quartz Setting up Quartz requires a basic understanding of git. If you are unfamiliar, this resource is a great place to start!Editing Content in Quartzhttps://falsy.cat/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown. +Folder Structure Here’s a rough overview of what’s what.Obsidian Vault Integrationhttps://falsy.cat/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/obsidian/Setup Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.Preview Changeshttps://falsy.cat/notes/preview-changes/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/preview-changes/If you’d like to preview what your Quartz site looks like before deploying it to the internet, the following instructions guide you through installing the proper dependencies to run it locally.Deploying Quartz to the Webhttps://falsy.cat/notes/hosting/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/hosting/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!Calloutshttps://falsy.cat/notes/callouts/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/callouts/Callout support Quartz supports the same Admonition-callout syntax as Obsidian. +This includes +12 Distinct callout types (each with several aliases) Collapsable callouts See documentation on supported types and syntax here.CJK + Latex Support (测试)https://falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Chinese, Japanese, Korean Support 几乎在我们意识到之前,我们已经离开了地面。 +우리가 그것을 알기도 전에 우리는 땅을 떠났습니다. +私たちがそれを知るほぼ前に、私たちは地面を離れていました。 +Latex Block math works with two dollar signs $$.Configurationhttps://falsy.cat/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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’d like to get.Custom Domainhttps://falsy.cat/notes/custom-Domain/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/custom-Domain/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.Hosting with Dockerhttps://falsy.cat/notes/docker/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/docker/If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to install Docker Compose and follow the instructions below than to install Quartz’s dependencies manually.Ignoring Noteshttps://falsy.cat/notes/ignore-notes/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/ignore-notes/Quartz Ignore Edit ignoreFiles in config.toml to include paths you’d like to exclude from being rendered. +1 2 3 4 5 6 .Quartz Philosophyhttps://falsy.cat/notes/philosophy/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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://falsy.cat/notes/search/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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://falsy.cat/notes/showcase/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/showcase/Want to see what Quartz can do? Here are some cool community gardens :) +Quartz Documentation (this site!) Jacky Zhao’s Garden Scaling Synthesis - A hypertext research notebook AWAGMI Intern Notes Shihyu’s PKM SlRvb’s Site Course notes for Information Technology Advanced Theory Brandon Boswell’s Garden Siyang’s Courtyard Data Dictionary 🧠 sspaeti.Troubleshooting and FAQhttps://falsy.cat/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/troubleshooting/Still having trouble? Here are a list of common questions and problems people encounter when installing Quartz. +While you’re here, join our Discord :)Updatinghttps://falsy.cat/notes/updating/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/updating/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! \ No newline at end of file diff --git a/indices/contentIndex.c2147efc90e3e592e6b3b1e9aaf3628c.min.json b/indices/contentIndex.c2147efc90e3e592e6b3b1e9aaf3628c.min.json new file mode 100644 index 0000000..3bddf34 --- /dev/null +++ b/indices/contentIndex.c2147efc90e3e592e6b3b1e9aaf3628c.min.json @@ -0,0 +1 @@ +{"/":{"title":"falsycat archive","content":"\n調べたことをまとめていく","lastmodified":"2023-02-23T09:37:50.364050478Z","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} = -1$\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":"2023-02-23T09:37:50.364050478Z","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":"2023-02-23T09:37:50.364050478Z","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 render mermaid diagrams\nenableMermaid: true\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!\nsearch:\n enableSemanticSearch: false\n operandApiKey: \"REPLACE-WITH-YOUR-OPERAND-API-KEY\"\n operandIndexId: \"REPLACE-WITH-YOUR-OPERAND-INDEX-ID\"\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.3\"\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":"2023-02-23T09:37:50.364050478Z","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":"2023-02-23T09:37:50.364050478Z","tags":null},"/notes/docker":{"title":"Hosting with Docker","content":"\nIf you want to host Quartz on a machine without using a webpage hosting service, it may be easier to [install Docker Compose](https://docs.docker.com/compose/install/) and follow the instructions below than to [install Quartz's dependencies manually](notes/preview%20changes.md).\n## Hosting Quartz Locally\nYou can serve Quartz locally at `http://localhost:1313` with the following script, replacing `/path/to/quartz` with the \nactual path to your Quartz folder.\n\ndocker-compose.yml\n```\nservices:\n quartz-hugo:\n image: ghcr.io/jackyzha0/quartz:hugo\n container_name: quartz-hugo\n volumes:\n - /path/to/quartz:/quartz\n ports:\n - 1313:1313\n\n # optional\n environment:\n - HUGO_BIND=0.0.0.0\n - HUGO_BASEURL=http://localhost\n - HUGO_PORT=1313\n - HUGO_APPENDPORT=true\n - HUGO_LIVERELOADPORT=-1\n```\n\nThen run with: `docker-compose up -d` in the same directory as your `docker-compose.yml` file.\n\nWhile the container is running, you can update the `quartz` fork with: `docker exec -it quartz-hugo make update`.\n\n## Exposing Your Container to the Internet\n\n### To Your Public IP Address with Port Forwarding (insecure)\n\nAssuming you are already familiar with [port forwarding](https://en.wikipedia.org/wiki/Port_forwarding) and [setting it up with your router model](https://portforward.com):\n\n1. You should set the environment variable `HUGO_BASEURL=http://your-public-ip` and then start your container.\n2. Set up port forwarding on your router from port `p` to `your-local-ip:1313`.\n3. You should now be able to access Quartz from outside your local network at `http://your-public-ip:p`.\n\nHowever, your HTTP connection will be unencrypted and **this method is not secure**.\n\n### To a Domain using Cloudflare Proxy\n\n1. Port forward 443 (HTTPS) from your machine.\n2. Buy a custom domain (say, `your-domain.com`) from [Cloudflare](https://www.cloudflare.com/products/registrar/). Point a DNS A record from `your-domain.com` to your public IP address and enable the proxy.\n3. Set the environment variables `HUGO_BASEURL=https://your-domain.com`, `HUGO_PORT=443`, and `HUGO_APPENDPORT=false`. Change `1313:1313` to `443:443` for the `ports` in `docker-compose.yml`.\n4. Spin up your Quartz container and enjoy it at `https://your-domain.com`!\n\n### To a Domain using a Reverse Proxy\n\nIf you want to serve more than just Quartz to the internet on this machine (or don't want to use the Cloudflare registrar and proxy), you should follow the steps in the section above (as appropriate) and also set up a reverse proxy, like [Traefik](https://doc.traefik.io/traefik). Be sure to configure your TLS certificates too!\n","lastmodified":"2023-02-23T09:37:50.364050478Z","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":"2023-02-23T09:37:50.364050478Z","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## Docker Support\nIf you don't want to use a hosting service, you can host using [Docker](notes/docker.md) instead!\nI would *not use this method* unless you know what you are doing.\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":"2023-02-23T09:37:50.364050478Z","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":"2023-02-23T09:37:50.364050478Z","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\nOpen Settings \u003e Files \u0026 Links and look for these two items:\n\n1. Set the **New link format** to **Absolute Path in vault**.\n2. Turn **on** the **Automatically update internal links** setting.\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)\n","lastmodified":"2023-02-23T09:37:50.368050462Z","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":"2023-02-23T09:37:50.368050462Z","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, the following\ninstructions guide you through installing the proper dependencies to run it locally.\n\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 [!INFO] Docker Support\n\u003e\n\u003e If you have Docker installed already, open your terminal, navigate to your folder with Quartz and run `make docker`\n\nNow that you are happy with how your Quartz instance looks, let's get it hosted!\n\n\u003e 🌍 Step 5: [Hosting Quartz online!](notes/hosting.md)\n","lastmodified":"2023-02-23T09:37:50.368050462Z","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://beta.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. Login or Register for a new Operand account. Click the verification link sent to your email, and you'll be redirected to the dashboard. (Note) You do not need to enter a credit card to create an account, or get started with the Operand API. The first $10 of usage each month is free. To learn more, see pricing. If you go over your free quota, we'll (politely) reach out and ask you to configure billing.\n2. Create your first index. On the dashboard, under \"Indexes\", enter the name and description of your index, and click \"Create Index\". Note down the ID of the index (obtained by clicking on the index name in the list of indexes), as you'll need it in the next step. IDs are unique to each index, and look something like `uqv1duxxbdxu`.\n3. Click into the index you've created. Under \"Index Something\", select \"SITEMAP\" from the dropdown and click \"Add Source\".\n4. For the \"Sitemap.xml URL\", put your deployed site's base URL followed by `sitemap.xml`. For example, for `quartz.jzhao.xyz`, put `https://quartz.jzhao.xyz/sitemap.xml`. Leave the URL Regex empty. \n5. Get your API key. On the dashboard, under \"API Keys\", you can manage your API keys. If you don't already have an API key, click \"Create API Key\". You'll need this for the next step.\n6. Open `data/config.yaml`. Set `enableSemanticSearch` to `true`, `operandApiKey` to your copied key, and `operandIndexId` to the ID of the index we created from earlier..\n\n```yaml {title=\"data/config.yaml\"}\n# the default option\nsearch:\n enableSemanticSearch: true\n operandApiKey: \"jp9k5hudse2a828z98kxd6z3payi8u90rnjf\"\n operandIndexId: \"s0kf3bd6tldw\"\n```\n7. Push your changes to the site and wait for it to deploy.\n8. Check the Operand dashboard and wait for your site to index. Enjoy natural language search powered by Operand!\n","lastmodified":"2023-02-23T09:37:50.368050462Z","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":"2023-02-23T09:37:50.368050462Z","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- [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- [Data Dictionary 🧠](https://glossary.airbyte.com/)\n- [sspaeti.com's Second Brain](https://brain.sspaeti.com/)\n- [oldwinterの数字花园](https://garden.oldwinter.top/)\n- [SethMB Work](https://sethmb.xyz/)\n- [Abhijeet's Math Wiki](https://abhmul.github.io/quartz/Math-Wiki/)\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":"2023-02-23T09:37:50.368050462Z","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 analytics?\nQuartz by default uses [Plausible](https://plausible.io/) for analytics. \n\nIf you would prefer to use Google Analytics, you can follow this [guide in the Hugo documentation](https://gohugo.io/templates/internal/#google-analytics). \n\nAlternatively, you can also import your Google Analytics data into Plausible by [following this guide](https://plausible.io/docs/google-analytics-import).\n\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)\n","lastmodified":"2023-02-23T09:37:50.368050462Z","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":"2023-02-23T09:37:50.368050462Z","tags":null}} \ No newline at end of file diff --git a/indices/linkIndex.5527d50d14f23ac29fce778fdc24df51.min.json b/indices/linkIndex.5527d50d14f23ac29fce778fdc24df51.min.json new file mode 100644 index 0000000..1282e38 --- /dev/null +++ b/indices/linkIndex.5527d50d14f23ac29fce778fdc24df51.min.json @@ -0,0 +1 @@ +{"index":{"links":{"/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/docker":[{"source":"/notes/docker","target":"/notes/preview-changes","text":"install Quartz's dependencies manually"}],"/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/docker","text":"Docker"},{"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":"/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/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/docker":[{"source":"/notes/hosting","target":"/notes/docker","text":"Docker"}],"/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/preview-changes":[{"source":"/notes/docker","target":"/notes/preview-changes","text":"install Quartz's dependencies manually"},{"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":"/notes/obsidian","target":"/notes/setup","text":"setup"}],"/notes/troubleshooting":[{"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"}]}},"links":[{"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/docker","target":"/notes/preview-changes","text":"install Quartz's dependencies manually"},{"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/docker","text":"Docker"},{"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/callouts.7723cac461d613d118ee8bb8216b9838.min.js b/js/callouts.7723cac461d613d118ee8bb8216b9838.min.js new file mode 100644 index 0000000..bf38e78 --- /dev/null +++ b/js/callouts.7723cac461d613d118ee8bb8216b9838.min.js @@ -0,0 +1 @@ +const addCollapsibleCallouts=()=>{const e=document.querySelectorAll("blockquote.callout-collapsible");e.forEach(e=>e.addEventListener("click",e=>{e.currentTarget.classList.toggle("callout-collapsed")}))} \ No newline at end of file diff --git a/js/clipboard.2913da76d3cb21c5deaa4bae7da38c9f.min.js b/js/clipboard.2913da76d3cb21c5deaa4bae7da38c9f.min.js new file mode 100644 index 0000000..8457b3d --- /dev/null +++ b/js/clipboard.2913da76d3cb21c5deaa4bae7da38c9f.min.js @@ -0,0 +1 @@ +const svgCopy='',svgCheck='',addCopyButtons=()=>{let e=document.getElementsByClassName("highlight");for(let t=0;t{navigator.clipboard.writeText(o.innerText.replace(/\n\n/g,"\n")).then(()=>{n.blur(),n.innerHTML=svgCheck,setTimeout(()=>{n.innerHTML=svgCopy,n.style.borderColor=""},2e3)},e=>n.innerHTML="Error")});let i=e[t].getElementsByClassName("chroma")[0];e[t].insertBefore(n,i)}catch(e){console.debug(e)}} \ No newline at end of file diff --git a/js/code-title.ce4a43f09239a9efb48fee342e8ef2df.min.js b/js/code-title.ce4a43f09239a9efb48fee342e8ef2df.min.js new file mode 100644 index 0000000..c15823c --- /dev/null +++ b/js/code-title.ce4a43f09239a9efb48fee342e8ef2df.min.js @@ -0,0 +1 @@ +function addTitleToCodeBlocks(){const e=document.getElementsByClassName("highlight");for(let t=0;t{e.target.checked?(document.documentElement.setAttribute("saved-theme","dark"),localStorage.setItem("theme","dark"),syntaxTheme.href="https://falsy.cat/styles/_dark_syntax.bec558461529f0dd343a0b008c343934.min.css"):(document.documentElement.setAttribute("saved-theme","light"),localStorage.setItem("theme","light"),syntaxTheme.href="https://falsy.cat/styles/_light_syntax.86a48a52faebeaaf42158b72922b1c90.min.css")};window.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector("#darkmode-toggle");e.addEventListener("change",switchTheme,!1),currentTheme==="dark"&&(e.checked=!0)}) \ No newline at end of file diff --git a/js/full-text-search.e6e2e0c213187ca0c703d6e2c7a77fcd.min.js b/js/full-text-search.e6e2e0c213187ca0c703d6e2c7a77fcd.min.js new file mode 100644 index 0000000..d9b7d89 --- /dev/null +++ b/js/full-text-search.e6e2e0c213187ca0c703d6e2c7a77fcd.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(o=>{const e=o.target.value,i=n.search(e,[{field:"content",limit:10},{field:"title",limit:5}]),t=t=>{const e=i.filter(e=>e.field===t);return e.length===0?[]:[...e[0].result]},a=new Set([...t("title"),...t("content")]),r=[...a].map(s);displayResults(e,r,!0)})})() \ No newline at end of file diff --git a/js/graph.6579af7b10c818dbd2ca038702db0224.js b/js/graph.6579af7b10c818dbd2ca038702db0224.js new file mode 100644 index 0000000..ce0c73b --- /dev/null +++ b/js/graph.6579af7b10c818dbd2ca038702db0224.js @@ -0,0 +1,279 @@ +async function drawGraph(baseUrl, isHome, pathColors, graphConfig) { + + let { + depth, + enableDrag, + enableLegend, + enableZoom, + opacityScale, + scale, + repelForce, + fontSize } = graphConfig; + + const container = document.getElementById("graph-container") + const { index, links, content } = await fetchData + + // Use .pathname to remove hashes / searchParams / text fragments + const cleanUrl = window.location.origin + window.location.pathname + + const curPage = cleanUrl.replace(/\/$/g, "").replace(baseUrl, "") + + const parseIdsFromLinks = (links) => [ + ...new Set(links.flatMap((link) => [link.source, link.target])), + ] + + // Links is mutated by d3. We want to use links later on, so we make a copy and pass that one to d3 + // Note: shallow cloning does not work because it copies over references from the original array + const copyLinks = JSON.parse(JSON.stringify(links)) + + const neighbours = new Set() + const wl = [curPage || "/", "__SENTINEL"] + if (depth >= 0) { + while (depth >= 0 && wl.length > 0) { + // compute neighbours + const cur = wl.shift() + if (cur === "__SENTINEL") { + depth-- + wl.push("__SENTINEL") + } else { + neighbours.add(cur) + const outgoing = index.links[cur] || [] + const incoming = index.backlinks[cur] || [] + wl.push(...outgoing.map((l) => l.target), ...incoming.map((l) => l.source)) + } + } + } else { + parseIdsFromLinks(copyLinks).forEach((id) => neighbours.add(id)) + } + + const data = { + nodes: [...neighbours].map((id) => ({ id })), + links: copyLinks.filter((l) => neighbours.has(l.source) && neighbours.has(l.target)), + } + + const color = (d) => { + if (d.id === curPage || (d.id === "/" && curPage === "")) { + return "var(--g-node-active)" + } + + for (const pathColor of pathColors) { + const path = Object.keys(pathColor)[0] + const colour = pathColor[path] + if (d.id.startsWith(path)) { + return colour + } + } + + return "var(--g-node)" + } + + const drag = (simulation) => { + function dragstarted(event, d) { + if (!event.active) simulation.alphaTarget(1).restart() + d.fx = d.x + d.fy = d.y + } + + function dragged(event, d) { + d.fx = event.x + d.fy = event.y + } + + function dragended(event, d) { + if (!event.active) simulation.alphaTarget(0) + d.fx = null + d.fy = null + } + + const noop = () => { } + return d3 + .drag() + .on("start", enableDrag ? dragstarted : noop) + .on("drag", enableDrag ? dragged : noop) + .on("end", enableDrag ? dragended : noop) + } + + const height = Math.max(container.offsetHeight, isHome ? 500 : 250) + const width = container.offsetWidth + + const simulation = d3 + .forceSimulation(data.nodes) + .force("charge", d3.forceManyBody().strength(-100 * repelForce)) + .force( + "link", + d3 + .forceLink(data.links) + .id((d) => d.id) + .distance(40), + ) + .force("center", d3.forceCenter()) + + const svg = d3 + .select("#graph-container") + .append("svg") + .attr("width", width) + .attr("height", height) + .attr('viewBox', [-width / 2 / scale, -height / 2 / scale, width / scale, height / scale]) + + if (enableLegend) { + const legend = [{ Current: "var(--g-node-active)" }, { Note: "var(--g-node)" }, ...pathColors] + legend.forEach((legendEntry, i) => { + const key = Object.keys(legendEntry)[0] + const colour = legendEntry[key] + svg + .append("circle") + .attr("cx", -width / 2 + 20) + .attr("cy", height / 2 - 30 * (i + 1)) + .attr("r", 6) + .style("fill", colour) + svg + .append("text") + .attr("x", -width / 2 + 40) + .attr("y", height / 2 - 30 * (i + 1)) + .text(key) + .style("font-size", "15px") + .attr("alignment-baseline", "middle") + }) + } + + // draw links between nodes + const link = svg + .append("g") + .selectAll("line") + .data(data.links) + .join("line") + .attr("class", "link") + .attr("stroke", "var(--g-link)") + .attr("stroke-width", 2) + .attr("data-source", (d) => d.source.id) + .attr("data-target", (d) => d.target.id) + + // svg groups + const graphNode = svg.append("g").selectAll("g").data(data.nodes).enter().append("g") + + // calculate radius + const nodeRadius = (d) => { + const numOut = index.links[d.id]?.length || 0 + const numIn = index.backlinks[d.id]?.length || 0 + return 2 + Math.sqrt(numOut + numIn) + } + + // draw individual nodes + const node = graphNode + .append("circle") + .attr("class", "node") + .attr("id", (d) => d.id) + .attr("r", nodeRadius) + .attr("fill", color) + .style("cursor", "pointer") + .on("click", (_, d) => { + // SPA navigation + const targ = `${baseUrl}${decodeURI(d.id).replace(/\s+/g, "-")}/` + window.Million.navigate(new URL(targ), ".singlePage") + plausible("Link Click", { + props: { + href: targ, + broken: false, + internal: true, + graph: true, + } + }) + }) + .on("mouseover", function(_, d) { + d3.selectAll(".node").transition().duration(100).attr("fill", "var(--g-node-inactive)") + + const neighbours = parseIdsFromLinks([ + ...(index.links[d.id] || []), + ...(index.backlinks[d.id] || []), + ]) + const neighbourNodes = d3.selectAll(".node").filter((d) => neighbours.includes(d.id)) + const currentId = d.id + window.Million.prefetch(new URL(`${baseUrl}${decodeURI(d.id).replace(/\s+/g, "-")}/`)) + const linkNodes = d3 + .selectAll(".link") + .filter((d) => d.source.id === currentId || d.target.id === currentId) + + // highlight neighbour nodes + neighbourNodes.transition().duration(200).attr("fill", color) + + // highlight links + linkNodes.transition().duration(200).attr("stroke", "var(--g-link-active)") + + const bigFont = fontSize * 1.5 + + // show text for self + d3.select(this.parentNode) + .raise() + .select("text") + .transition() + .duration(200) + .attr('opacityOld', d3.select(this.parentNode).select('text').style("opacity")) + .style('opacity', 1) + .style('font-size', bigFont + 'em') + .attr('dy', d => nodeRadius(d) + 20 + 'px') // radius is in px + }) + .on("mouseleave", function(_, d) { + d3.selectAll(".node").transition().duration(200).attr("fill", color) + + const currentId = d.id + const linkNodes = d3 + .selectAll(".link") + .filter((d) => d.source.id === currentId || d.target.id === currentId) + + linkNodes.transition().duration(200).attr("stroke", "var(--g-link)") + + d3.select(this.parentNode) + .select("text") + .transition() + .duration(200) + .style('opacity', d3.select(this.parentNode).select('text').attr("opacityOld")) + .style('font-size', fontSize + 'em') + .attr('dy', d => nodeRadius(d) + 8 + 'px') // radius is in px + }) + .call(drag(simulation)) + + // draw labels + const labels = graphNode + .append("text") + .attr("dx", 0) + .attr("dy", (d) => nodeRadius(d) + 8 + "px") + .attr("text-anchor", "middle") + .text((d) => content[d.id]?.title || (d.id.charAt(1).toUpperCase() + d.id.slice(2)).replace("-", " ")) + .style('opacity', (opacityScale - 1) / 3.75) + .style("pointer-events", "none") + .style('font-size', fontSize + 'em') + .raise() + .call(drag(simulation)) + + // set panning + + if (enableZoom) { + svg.call( + d3 + .zoom() + .extent([ + [0, 0], + [width, height], + ]) + .scaleExtent([0.25, 4]) + .on("zoom", ({ transform }) => { + link.attr("transform", transform) + node.attr("transform", transform) + const scale = transform.k * opacityScale; + const scaledOpacity = Math.max((scale - 1) / 3.75, 0) + labels.attr("transform", transform).style("opacity", scaledOpacity) + }), + ) + } + + // progress the simulation + simulation.on("tick", () => { + link + .attr("x1", (d) => d.source.x) + .attr("y1", (d) => d.source.y) + .attr("x2", (d) => d.target.x) + .attr("y2", (d) => d.target.y) + node.attr("cx", (d) => d.x).attr("cy", (d) => d.y) + labels.attr("x", (d) => d.x).attr("y", (d) => d.y) + }) +} diff --git a/js/popover.aa9bc99c7c38d3ae9538f218f1416adb.min.js b/js/popover.aa9bc99c7c38d3ae9538f218f1416adb.min.js new file mode 100644 index 0000000..5bbcd83 --- /dev/null +++ b/js/popover.aa9bc99c7c38d3ae9538f218f1416adb.min.js @@ -0,0 +1,9 @@ +function htmlToElement(e){const t=document.createElement("template");return e=e.trim(),t.innerHTML=e,t.content.firstChild}function initPopover(e,t){const n=e.replace(window.location.origin,"");fetchData.then(({content:e})=>{const s=[...document.getElementsByClassName("internal-link")];s.filter(e=>e.dataset.src||e.dataset.idx&&t).forEach(t=>{let s;if(t.dataset.ctx){const n=e[t.dataset.src],o=`
+

${n.title}

+

${highlight(removeMarkdown(n.content),t.dataset.ctx)}...

+

${new Date(n.lastmodified).toLocaleDateString()}

+
`;s=htmlToElement(o)}else{const o=e[t.dataset.src.replace(/\/$/g,"").replace(n,"")];if(o){let n=t.href.split("#"),e=removeMarkdown(o.content);if(n.length>1){let t=decodeURIComponent(n[1]).replace(/-/g," "),s=e.toLowerCase().indexOf(""+t+"");e=e.substring(s,e.length)}const i=`
+

${o.title}

+

${e.split(" ",20).join(" ")}...

+

${new Date(o.lastmodified).toLocaleDateString()}

+
`;s=htmlToElement(i)}}s&&(t.appendChild(s),LATEX_ENABLED&&renderMathInElement(s,{delimiters:[{left:"$$",right:"$$",display:!1},{left:"$",right:"$",display:!1}],throwOnError:!1}),t.addEventListener("mouseover",()=>{window.FloatingUIDOM.computePosition(t,s,{middleware:[window.FloatingUIDOM.offset(10),window.FloatingUIDOM.inline(),window.FloatingUIDOM.shift()]}).then(({x:e,y:t})=>{Object.assign(s.style,{left:`${e}px`,top:`${t}px`})}),s.classList.add("visible"),plausible("Popover Hover",{props:{href:t.dataset.src}})}),t.addEventListener("mouseout",()=>{s.classList.remove("visible")}))})})} \ No newline at end of file diff --git a/js/router.d6fe6bd821db9ea97f9aeefae814d8e7.min.js b/js/router.d6fe6bd821db9ea97f9aeefae814d8e7.min.js new file mode 100644 index 0000000..66dba3c --- /dev/null +++ b/js/router.d6fe6bd821db9ea97f9aeefae814d8e7.min.js @@ -0,0 +1 @@ +import{apply,navigate,prefetch,router,}from"https://unpkg.com/million@1.11.5/dist/router.mjs";export const attachSPARouting=(e,n)=>{window.Million={apply,navigate,prefetch,router};const t=()=>requestAnimationFrame(n);window.addEventListener("DOMContentLoaded",()=>{apply(t=>e(t)),e(),router(".singlePage"),t()}),window.addEventListener("million:navigate",t)} \ No newline at end of file diff --git a/js/util.a0ccf91e1937fe761a74da4946452710.min.js b/js/util.a0ccf91e1937fe761a74da4946452710.min.js new file mode 100644 index 0000000..99ef46e --- /dev/null +++ b/js/util.a0ccf91e1937fe761a74da4946452710.min.js @@ -0,0 +1,7 @@ +const removeMarkdown=(n,t={listUnicodeChar:!1,stripListLeaders:!0,gfm:!0,useImgAltText:!1,preserveLinks:!1})=>{let e=n||"";e=e.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm,"");try{t.stripListLeaders&&(t.listUnicodeChar?e=e.replace(/^([\s\t]*)([*\-+]|\d+\.)\s+/gm,t.listUnicodeChar+" $1"):e=e.replace(/^([\s\t]*)([*\-+]|\d+\.)\s+/gm,"$1")),t.gfm&&(e=e.replace(/\n={2,}/g,"\n").replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/`{3}.*\n/g,"")),t.preserveLinks&&(e=e.replace(/\[(.*?)\][[(](.*?)[\])]/g,"$1 ($2)")),e=e.replace(/<[^>]*>/g,"").replace(/^[=-]{2,}\s*$/g,"").replace(/\[\^.+?\](: .*?$)?/g,"").replace(/(#{1,6})\s+(.+)\1?/g,"$2").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/!\[(.*?)\][[(].*?[\])]/g,t.useImgAltText?"$1":"").replace(/\[(.*?)\][[(].*?[\])]/g,"$1").replace(/!?\[\[\S[^[\]|]*(?:\|([^[\]]*))?\S\]\]/g,"$1").replace(/^\s{0,3}>\s?/g,"").replace(/(^|\n)\s{0,3}>\s?/g,"\n\n").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/([*_]{1,3})(\S.*?\S?)\1/g,"$2").replace(/([*_]{1,3})(\S.*?\S?)\1/g,"$2").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/\n{2,}/g,"\n\n").replace(/\[![a-zA-Z]+\][-+]? /g,"")}catch(e){return console.error(e),n}return e},highlight=(e,n)=>{const t=20,o=e.indexOf(n);if(o!==-1){const s=t,i=e.substring(0,o).split(" ").slice(-s),a=e.substring(o+n.length,e.length-2).split(" ").slice(0,s);return(i.length===s?`...${i.join(" ")}`:i.join(" "))+`${n}`+a.join(" ")}const u=n.split(/\s+/).filter(e=>e!==""),s=e.split(/\s+/).filter(e=>e!==""),a=e=>u.some(t=>e.toLowerCase().startsWith(t.toLowerCase())),r=s.map(a);let c=0,l=0;for(let e=0;ee+t,0);n>=c&&(c=n,l=e)}const i=Math.max(l-t,0),d=Math.min(i+2*t,s.length),h=s.slice(i,d).map(e=>a(e)?`${e}`:e).join(" ").replaceAll(' '," ");return`${i===0?"":"..."}${h}${d===s.length?"":"..."}`},resultToHTML=({url:e,title:t,content:n})=>``,redir=(t,e)=>{const n=PRODUCTION&&SEARCH_ENABLED,s=n?"":BASE_URL.replace(/\/$/g,""),o=`${s}${t}#:~:text=${encodeURIComponent(e)}/`;window.Million.navigate(new URL(o),".singlePage"),closeSearch(),plausible("Search",{props:{term:e}})};function openSearch(){const t=document.getElementById("search-bar"),n=document.getElementById("results-container"),e=document.getElementById("search-container");e.style.display==="none"||e.style.display===""?(t.value="",n.innerHTML="",e.style.display="block",t.focus()):e.style.display="none"}function closeSearch(){const e=document.getElementById("search-container");e.style.display="none"}const registerHandlers=n=>{const e=document.getElementById("search-bar"),s=document.getElementById("search-container");let o;e.addEventListener("keyup",e=>{if(e.key==="Enter"){const e=document.getElementsByClassName("result-card")[0];redir(e.id,o)}}),e.addEventListener("input",n),document.addEventListener("keydown",e=>{e.key==="k"&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),openSearch()),e.key==="Escape"&&(e.preventDefault(),closeSearch())});const t=document.getElementById("search-icon");t.addEventListener("click",e=>{openSearch()}),t.addEventListener("keydown",e=>{openSearch()}),s.addEventListener("click",e=>{closeSearch()}),document.getElementById("search-space").addEventListener("click",e=>{e.stopPropagation()})},displayResults=(e,n,s=!1)=>{const t=document.getElementById("results-container");if(n.length===0)t.innerHTML=``;else{t.innerHTML=n.map(t=>s?resultToHTML({url:t.url,title:highlight(t.title,e),content:highlight(removeMarkdown(t.content),e)}):resultToHTML(t)).join("\n"),LATEX_ENABLED&&renderMathInElement(t,{delimiters:[{left:"$$",right:"$$",display:!1},{left:"$",right:"$",display:!1}],throwOnError:!1});const o=[...document.getElementsByClassName("result-card")];o.forEach(t=>{t.onclick=()=>redir(t.id,e)})}} \ No newline at end of file diff --git a/linkmap b/linkmap new file mode 100644 index 0000000..707f237 --- /dev/null +++ b/linkmap @@ -0,0 +1,17 @@ +/notes/custom-Domain/index.{html} /notes/custom-Domain/ +/notes/search/index.{html} /notes/search/ +/notes/showcase/index.{html} /notes/showcase/ +/notes/updating/index.{html} /notes/updating/ +/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/index.{html} /notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/ +/notes/docker/index.{html} /notes/docker/ +/index.html / +/notes/config/index.{html} /notes/config/ +/notes/editing/index.{html} /notes/editing/ +/notes/philosophy/index.{html} /notes/philosophy/ +/notes/preview-changes/index.{html} /notes/preview-changes/ +/notes/setup/index.{html} /notes/setup/ +/notes/callouts/index.{html} /notes/callouts/ +/notes/ignore-notes/index.{html} /notes/ignore-notes/ +/notes/obsidian/index.{html} /notes/obsidian/ +/notes/troubleshooting/index.{html} /notes/troubleshooting/ +/notes/hosting/index.{html} /notes/hosting/ diff --git a/notes/CJK-+-Latex-Support-测试/index.html b/notes/CJK-+-Latex-Support-测试/index.html new file mode 100644 index 0000000..f116112 --- /dev/null +++ b/notes/CJK-+-Latex-Support-测试/index.html @@ -0,0 +1,39 @@ +CJK + Latex Support (测试) + + + + + + + + + + + +
+

🪴 Quartz 3.3

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 +f\hat(\xi),e^{2 \pi i \xi x} +,d\xi$$

    Inline math also works with single dollar signs $...$. For example, Euler’s identity but inline: $e^{i\pi} = -1$

    Aligned equations work quite well:

    $$ +\begin{aligned} +a &= b + c \\ &= e + f \\ \end{aligned} +$$

    And matrices

    $$ +\begin{bmatrix} +1 & 2 & 3 \\ a & b & c +\end{bmatrix} +$$

    # RTL

    More information on configuring RTL languages like Arabic in the +config page.


    \ No newline at end of file diff --git a/notes/callouts/index.html b/notes/callouts/index.html new file mode 100644 index 0000000..031921d --- /dev/null +++ b/notes/callouts/index.html @@ -0,0 +1,27 @@ +Callouts + + + + + + + + + + + +
    +

    🪴 Quartz 3.3

    Search

    Search IconIcon to open search
    +

    Callouts

    Last updated +Aug 5, 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 +documentation on supported types and syntax here.

      # Showcase

      Examples

      Aliases: example

      Notes

      Aliases: note

      Summaries

      Aliases: abstract, summary, tldr

      Info

      Aliases: info, todo

      Hint

      Aliases: tip, hint, important

      Success

      Aliases: success, check, done

      Question

      Aliases: question, help, faq

      Warning

      Aliases: warning, caution, attention

      Failure

      Aliases: failure, fail, missing

      Error

      Aliases: danger, error

      Bug

      Aliases: bug

      Quote

      Aliases: quote, cite


      \ No newline at end of file diff --git a/notes/config/index.html b/notes/config/index.html new file mode 100644 index 0000000..f143606 --- /dev/null +++ b/notes/config/index.html @@ -0,0 +1,294 @@ +Configuration + + + + + + + + + + + +
      +

      🪴 Quartz 3.3

      Search

      Search IconIcon to open search
      +

      Configuration

      Last updated +Nov 28, 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
      + 2
      + 3
      + 4
      + 5
      + 6
      + 7
      + 8
      + 9
      +10
      +11
      +12
      +13
      +14
      +15
      +16
      +17
      +18
      +19
      +20
      +21
      +22
      +23
      +24
      +25
      +26
      +27
      +28
      +29
      +30
      +31
      +32
      +33
      +34
      +35
      +36
      +37
      +38
      +39
      +40
      +41
      +42
      +43
      +44
      +45
      +46
      +47
      +48
      +49
      +50
      +51
      +52
      +53
      +54
      +55
      +56
      +57
      +58
      +59
      +60
      +61
      +62
      +63
      +64
      +65
      +66
      +67
      +68
      +69
      +70
      +71
      +72
      +
      # The name to display in the footer
      +name: Jacky Zhao
      +
      +# whether to globally show the table of contents on each page
      +# this can be turned off on a per-page basis by adding this to the
      +# front-matter of that note
      +enableToc: true
      +
      +# whether to by-default open or close the table of contents on each page
      +openToc: false
      +
      +# whether to display on-hover link preview cards
      +enableLinkPreview: true
      +
      +# whether to render titles for code blocks
      +enableCodeBlockTitle: true 
      +
      +# whether to render copy buttons for code blocks
      +enableCodeBlockCopy: true 
      +
      +# whether to render callouts
      +enableCallouts: true
      +
      +# whether to try to process Latex
      +enableLatex: true
      +
      +# whether to enable single-page-app style rendering
      +# this prevents flashes of unstyled content and improves
      +# smoothness of Quartz. More info in issue #109 on GitHub
      +enableSPA: true
      +
      +# whether to render a footer
      +enableFooter: true
      +
      +# whether backlinks of pages should show the context in which
      +# they were mentioned
      +enableContextualBacklinks: true
      +
      +# whether to show a section of recent notes on the home page
      +enableRecentNotes: false
      +
      +# 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 render mermaid diagrams
      +enableMermaid: true
      +
      +# whether to use Operand to power semantic search
      +# IMPORTANT: replace this API key with your own if you plan on using
      +# Operand search!
      +search:
      +  enableSemanticSearch: false
      +  operandApiKey: "REPLACE-WITH-YOUR-OPERAND-API-KEY"
      +  operandIndexId: "REPLACE-WITH-YOUR-OPERAND-INDEX-ID"
      +
      +# page description used for SEO
      +description:
      +  Host your second brain and digital garden for free. Quartz features extremely fast full-text search,
      +  Wikilink support, backlinks, local graph, tags, and link previews.
      +
      +# title of the home page (also for SEO)
      +page_title:
      +  "🪴 Quartz 3.3"
      +
      +# links to show in the footer
      +links:
      +  - link_name: Twitter
      +    link: https://twitter.com/_jzhao
      +  - link_name: Github
      +    link: https://github.com/jackyzha0
      +

      # Code Block Titles

      To add code block titles with Quartz:

      1. Ensure that code block titles are enabled in Quartz’s configuration:

        enableCodeBlockTitle: true
        +
      2. Add the title attribute to the desired +code block +fence:

         ```yaml {title="data/config.yaml"}
        + enableCodeBlockTitle: true  # example from step 1
        + ```
        +

      Note that if {title=<my-title>} is included, and code block titles are not +enabled, no errors will occur, and the title attribute will be ignored.

      # HTML Favicons

      If you would like to customize the favicons of your Quartz-based website, you +can add them to the data/config.yaml file. The default without any set +favicon key is:

      15
      +
      <link rel="shortcut icon" href="icon.png" type="image/png">
      +

      The default can be overridden by defining a value to the favicon key in your +data/config.yaml file. For example, here is a List[Dictionary] example format, which is +equivalent to the default:

      favicon:
      +  - { rel: "shortcut icon", href: "icon.png", type: "image/png" }
      +#  - { ... } # Repeat for each additional favicon you want to add
      +

      In this format, the keys are identical to their HTML representations.

      If you plan to add multiple favicons generated by a website (see list below), it +may be easier to define it as HTML. Here is an example which appends the +Apple touch icon to Quartz’s default favicon:

      favicon: |
      +  <link rel="shortcut icon" href="icon.png" type="image/png">
      +  <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">  
      +

      This second favicon will now be used as a web page icon when someone adds your +webpage to the home screen of their Apple device. If you are interested in more +information about the current and past standards of favicons, you can read +this article.

      Note that all generated favicon paths, defined by the href +attribute, are relative to the static/ directory.

      # Graph View

      To customize the Interactive Graph view, you can poke around data/graphConfig.yaml.

       1
      + 2
      + 3
      + 4
      + 5
      + 6
      + 7
      + 8
      + 9
      +10
      +11
      +12
      +13
      +14
      +15
      +16
      +17
      +18
      +19
      +20
      +21
      +22
      +23
      +24
      +25
      +26
      +27
      +28
      +29
      +30
      +31
      +32
      +33
      +34
      +35
      +36
      +37
      +38
      +39
      +40
      +41
      +42
      +43
      +44
      +45
      +
      # if true, a Global Graph will be shown on home page with full width, no backlink.
      +# A different set of Local Graphs will be shown on sub pages.
      +# if false, Local Graph will be default on every page as usual
      +enableGlobalGraph: false
      +
      +### Local Graph ###
      +localGraph:
      +    # whether automatically generate a legend
      +    enableLegend: false
      +    
      +    # whether to allow dragging nodes in the graph
      +    enableDrag: true
      +    
      +    # whether to allow zooming and panning the graph
      +    enableZoom: true
      +    
      +    # how many neighbours of the current node to show (-1 is all nodes)
      +    depth: 1
      +    
      +    # initial zoom factor of the graph
      +    scale: 1.2
      +    
      +    # how strongly nodes should repel each other
      +    repelForce: 2
      +
      +    # how strongly should nodes be attracted to the center of gravity
      +    centerForce: 1
      +
      +    # what the default link length should be
      +    linkDistance: 1
      +    
      +    # how big the node labels should be
      +    fontSize: 0.6
      +    
      +    # scale at which to start fading the labes on nodes
      +    opacityScale: 3
      +
      +### Global Graph ###
      +globalGraph:
      +	# same settings as above
      +
      +### For all graphs ###
      +# colour specific nodes path off of their path
      +paths:
      +  - /moc: "#4388cc"
      +

      # Styling

      Want 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.

      # Partials

      Partials 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.

      For 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

      More info about partials on +Hugo’s website.

      Still having problems? Checkout our +FAQ and Troubleshooting guide.

      # Language Support

      CJK + Latex Support (测试) comes out of the box with Quartz.

      Want to support languages that read from right-to-left (like Arabic)? Hugo (and by proxy, Quartz) supports this natively.

      Follow the steps +Hugo provides here and modify your config.toml

      For example:

      1
      +2
      +3
      +4
      +5
      +6
      +
      defaultContentLanguage = 'ar'
      +[languages]
      +  [languages.ar]
      +    languagedirection = 'rtl'
      +    title = 'مدونتي'
      +    weight = 1
      +

      \ No newline at end of file diff --git a/notes/custom-Domain/index.html b/notes/custom-Domain/index.html new file mode 100644 index 0000000..c6853e4 --- /dev/null +++ b/notes/custom-Domain/index.html @@ -0,0 +1,21 @@ +Custom Domain + + + + + + + + + + + +
      +

      🪴 Quartz 3.3

      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 +documentation on this, but the tldr; is to

        1. Go to your forked repository (github.com/<YOUR-GITHUB-USERNAME>/quartz) settings page and go to the Pages tab. Under “Custom domain”, type your custom domain, then click Save.

        2. Go to your DNS Provider and create a CNAME record that points from your domain to <YOUR-GITHUB-USERNAME.github.io. (yes, with the trailing period).

          Example Configuration for QuartzExample Configuration for Quartz

        3. Wait 30 minutes to an hour for the network changes to kick in.

        4. Done!


        \ No newline at end of file diff --git a/notes/docker/index.html b/notes/docker/index.html new file mode 100644 index 0000000..8989099 --- /dev/null +++ b/notes/docker/index.html @@ -0,0 +1,59 @@ +Hosting with Docker + + + + + + + + + + + +
        +

        🪴 Quartz 3.3

        Search

        Search IconIcon to open search
        +

        Hosting with Docker

        Last updated +Jan 18, 2023 +Edit Source

        If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to +install Docker Compose and follow the instructions below than to +install Quartz’s dependencies manually.

        # Hosting Quartz Locally

        You can serve Quartz locally at http://localhost:1313 with the following script, replacing /path/to/quartz with the +actual path to your Quartz folder.

        docker-compose.yml

         1
        + 2
        + 3
        + 4
        + 5
        + 6
        + 7
        + 8
        + 9
        +10
        +11
        +12
        +13
        +14
        +15
        +16
        +
        services:
        +  quartz-hugo:
        +    image: ghcr.io/jackyzha0/quartz:hugo
        +    container_name: quartz-hugo
        +    volumes:
        +      - /path/to/quartz:/quartz
        +    ports:
        +      - 1313:1313
        +
        +    # optional
        +    environment:
        +      - HUGO_BIND=0.0.0.0
        +      - HUGO_BASEURL=http://localhost
        +      - HUGO_PORT=1313
        +      - HUGO_APPENDPORT=true
        +      - HUGO_LIVERELOADPORT=-1
        +

        Then run with: docker-compose up -d in the same directory as your docker-compose.yml file.

        While the container is running, you can update the quartz fork with: docker exec -it quartz-hugo make update.

        # Exposing Your Container to the Internet

        # To Your Public IP Address with Port Forwarding (insecure)

        Assuming you are already familiar with +port forwarding and +setting it up with your router model:

        1. You should set the environment variable HUGO_BASEURL=http://your-public-ip and then start your container.
        2. Set up port forwarding on your router from port p to your-local-ip:1313.
        3. You should now be able to access Quartz from outside your local network at http://your-public-ip:p.

        However, your HTTP connection will be unencrypted and this method is not secure.

        # To a Domain using Cloudflare Proxy

        1. Port forward 443 (HTTPS) from your machine.
        2. Buy a custom domain (say, your-domain.com) from +Cloudflare. Point a DNS A record from your-domain.com to your public IP address and enable the proxy.
        3. Set the environment variables HUGO_BASEURL=https://your-domain.com, HUGO_PORT=443, and HUGO_APPENDPORT=false. Change 1313:1313 to 443:443 for the ports in docker-compose.yml.
        4. Spin up your Quartz container and enjoy it at https://your-domain.com!

        # To a Domain using a Reverse Proxy

        If you want to serve more than just Quartz to the internet on this machine (or don’t want to use the Cloudflare registrar and proxy), you should follow the steps in the section above (as appropriate) and also set up a reverse proxy, like +Traefik. Be sure to configure your TLS certificates too!


        \ No newline at end of file diff --git a/notes/editing/index.html b/notes/editing/index.html new file mode 100644 index 0000000..5737b10 --- /dev/null +++ b/notes/editing/index.html @@ -0,0 +1,52 @@ +Editing Content in Quartz + + + + + + + + + + + +
        +

        🪴 Quartz 3.3

        Search

        Search IconIcon to open search
        +

        Editing Content in Quartz

        Last updated +Nov 20, 2022 +Edit Source

        # Editing

        Quartz runs on top of +Hugo so all notes are written in +Markdown.

        # Folder Structure

        Here’s a rough overview of what’s what.

        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.

        To edit the main home page, open /content/_index.md.

        To 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.

        1
        +2
        +
        For example, I want to link this current document to `notes/config.md`.
        +[A link to the config page](notes/config.md)
        +

        Similarly, you can put local images anywhere in the /content folder.

        1
        +2
        +
        Example image (source is in content/notes/images/example.png)
        +![Example Image](/content/notes/images/example.png)
        +

        You can also use wikilinks if that is what you are more comfortable with!

        # Front Matter

        Hugo 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.

        1
        +2
        +3
        +4
        +5
        +6
        +7
        +
        ---
        +title: "Example Title"
        +tags:
        +- example-tag
        +---
        +
        +Rest of your content here...
        +

        # Obsidian

        I recommend using +Obsidian 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.

        This step is highly recommended.

        🔗 Step 3: +How to setup your Obsidian Vault to work with Quartz

        # Previewing Changes

        This 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.

        👀 Step 4: +Preview Quartz Changes

        For those who like to live life more on the edge, viewing the garden through Obsidian gets you pretty close to the real thing.

        # Publishing Changes

        Now that you know the basics of managing your digital garden using Quartz, you can publish it to the internet!

        🌍 Step 5: +Hosting Quartz online!

        Having problems? Checkout our +FAQ and Troubleshooting guide.


        \ No newline at end of file diff --git a/notes/hosting/index.html b/notes/hosting/index.html new file mode 100644 index 0000000..82e115b --- /dev/null +++ b/notes/hosting/index.html @@ -0,0 +1,62 @@ +Deploying Quartz to the Web + + + + + + + + + + + +
        +

        🪴 Quartz 3.3

        Search

        Search IconIcon to open search
        +

        Deploying Quartz to the Web

        Last updated +Nov 20, 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
        +2
        +3
        +4
        +5
        +6
        +7
        +8
        +9
        +
        # Navigate to Quartz folder
        +cd <path-to-quartz>
        +
        +# Commit all changes
        +git add .
        +git commit -m "message describing changes"
        +
        +# Push to GitHub to update site
        +git push origin hugo
        +

        Note: 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.

        # Setting up the Site

        Now 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.

        Here, we take advantage of GitHub’s free page hosting to deploy our site. Change baseURL in /config.toml.

        Make sure that your baseURL has a trailing /!

        Reference config.toml here

        1
        +
        baseURL = "https://<YOUR-DOMAIN>/"
        +

        If you are using this under a subdomain (e.g. <YOUR-GITHUB-USERNAME>.github.io/quartz), include the trailing /. You need to do this especially if you are using GitHub!

        1
        +
        baseURL = "https://<YOUR-GITHUB-USERNAME>.github.io/quartz/"
        +

        Change cname in /.github/workflows/deploy.yaml. Again, if you don’t have a custom domain to use, you can use <YOUR-USERNAME>.github.io.

        Please note that the cname field should not have any path e.g. end with /quartz or have a trailing /.

        Reference deploy.yaml here

        1
        +2
        +3
        +4
        +5
        +6
        +7
        +
        - name: Deploy  
        +  uses: peaceiris/actions-gh-pages@v3  
        +  with:  
        +	github_token: ${{ secrets.GITHUB_TOKEN }} # this can stay as is, GitHub fills this in for us!
        +	publish_dir: ./public  
        +	publish_branch: master
        +	cname: <YOUR-DOMAIN>
        +

        Have a custom domain? +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

        # Docker Support

        If you don’t want to use a hosting service, you can host using +Docker instead! +I would not use this method unless you know what you are doing.


        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.


        \ No newline at end of file diff --git a/notes/ignore-notes/index.html b/notes/ignore-notes/index.html new file mode 100644 index 0000000..d5f61e0 --- /dev/null +++ b/notes/ignore-notes/index.html @@ -0,0 +1,47 @@ +Ignoring Notes + + + + + + + + + + + +
        +

        🪴 Quartz 3.3

        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
          +2
          +3
          +4
          +5
          +6
          +
          ...
          +ignoreFiles = [  
          +    "/content/templates/*",  
          +    "/content/private/*", 
          +    "<your path here>"
          +]
          +

          ignoreFiles supports the use of Regular Expressions (RegEx) so you can ignore patterns as well (e.g. ignoring all .pngs by doing \\.png$). +To ignore a specific file, you can also add the tag draft: true to the frontmatter of a note.

          1
          +2
          +3
          +4
          +5
          +
          ---
          +title: Some Private Note
          +draft: true
          +---
          +...
          +

          More details in +Hugo’s documentation.

          # Global Ignore

          However, 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.


          \ No newline at end of file diff --git a/notes/images/github-actions.png b/notes/images/github-actions.png new file mode 100644 index 0000000..8e977cb Binary files /dev/null and b/notes/images/github-actions.png differ diff --git a/notes/images/github-pages.png b/notes/images/github-pages.png new file mode 100644 index 0000000..2c606f5 Binary files /dev/null and b/notes/images/github-pages.png differ diff --git a/notes/images/google-domains.png b/notes/images/google-domains.png new file mode 100644 index 0000000..a438269 Binary files /dev/null and b/notes/images/google-domains.png differ diff --git a/notes/images/obsidian-settings.png b/notes/images/obsidian-settings.png new file mode 100644 index 0000000..8dfbfdc Binary files /dev/null and b/notes/images/obsidian-settings.png differ diff --git a/notes/index.html b/notes/index.html new file mode 100644 index 0000000..07bfbbe --- /dev/null +++ b/notes/index.html @@ -0,0 +1,18 @@ +Notes + + + + + + + + + + + +
          +

          🪴 Quartz 3.3

          Search

          Search IconIcon to open search
          +
          \ No newline at end of file diff --git a/notes/index.xml b/notes/index.xml new file mode 100644 index 0000000..f6813a3 --- /dev/null +++ b/notes/index.xml @@ -0,0 +1,11 @@ +Notes onhttps://falsy.cat/notes/Recent content in Notes onHugo -- gohugo.ioen-usSetuphttps://falsy.cat/notes/setup/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/setup/Making your own Quartz Setting up Quartz requires a basic understanding of git. If you are unfamiliar, this resource is a great place to start!Editing Content in Quartzhttps://falsy.cat/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown. +Folder Structure Here&rsquo;s a rough overview of what&rsquo;s what.Obsidian Vault Integrationhttps://falsy.cat/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/obsidian/Setup Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.Preview Changeshttps://falsy.cat/notes/preview-changes/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/preview-changes/If you&rsquo;d like to preview what your Quartz site looks like before deploying it to the internet, the following instructions guide you through installing the proper dependencies to run it locally.Deploying Quartz to the Webhttps://falsy.cat/notes/hosting/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/hosting/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!Calloutshttps://falsy.cat/notes/callouts/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/callouts/Callout support Quartz supports the same Admonition-callout syntax as Obsidian. +This includes +12 Distinct callout types (each with several aliases) Collapsable callouts See documentation on supported types and syntax here.CJK + Latex Support (测试)https://falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Chinese, Japanese, Korean Support 几乎在我们意识到之前,我们已经离开了地面。 +우리가 그것을 알기도 전에 우리는 땅을 떠났습니다. +私たちがそれを知るほぼ前に、私たちは地面を離れていました。 +Latex Block math works with two dollar signs $$.Configurationhttps://falsy.cat/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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://falsy.cat/notes/custom-Domain/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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.Hosting with Dockerhttps://falsy.cat/notes/docker/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/docker/If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to install Docker Compose and follow the instructions below than to install Quartz&rsquo;s dependencies manually.Ignoring Noteshttps://falsy.cat/notes/ignore-notes/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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://falsy.cat/notes/philosophy/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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://falsy.cat/notes/search/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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://falsy.cat/notes/showcase/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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 SlRvb&rsquo;s Site Course notes for Information Technology Advanced Theory Brandon Boswell&rsquo;s Garden Siyang&rsquo;s Courtyard Data Dictionary 🧠 sspaeti.Troubleshooting and FAQhttps://falsy.cat/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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://falsy.cat/notes/updating/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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 new file mode 100644 index 0000000..3c44bdf --- /dev/null +++ b/notes/obsidian/index.html @@ -0,0 +1,23 @@ +Obsidian Vault Integration + + + + + + + + + + + +
          +

          🪴 Quartz 3.3

          Search

          Search IconIcon to open search
          +

          Obsidian Vault Integration

          Last updated +Jan 31, 2023 +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, +download Obsidian and create a new Vault in the /content folder that you created and cloned during the +setup step.

          # Linking an existing Vault

          The easiest way to use an existing Vault is to copy all of your files (directory and hierarchies intact) into the /content folder.

          # Settings

          Great, now that you have your Obsidian linked to your Quartz, let’s fix some settings so that they play well.

          Open Settings > Files & Links and look for these two items:

          1. Set the New link format to Absolute Path in vault.
          2. Turn on the Automatically update internal links setting.

          Obsidian SettingsObsidian Settings

          # Templates

          Inserting 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.

          If you decide to overwrite the /content folder completely, don’t remove the /content/templates folder!

          Head over to Options > Core Plugins and enable the Templates plugin. Then go to Options > 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!

          👀 Step 4: +Preview Quartz Changes


          \ No newline at end of file diff --git a/notes/page/1/index.html b/notes/page/1/index.html new file mode 100644 index 0000000..ddb7f15 --- /dev/null +++ b/notes/page/1/index.html @@ -0,0 +1 @@ +https://falsy.cat/notes/ \ No newline at end of file diff --git a/notes/page/2/index.html b/notes/page/2/index.html new file mode 100644 index 0000000..594170a --- /dev/null +++ b/notes/page/2/index.html @@ -0,0 +1,18 @@ +Notes + + + + + + + + + + + +
          +

          🪴 Quartz 3.3

          Search

          Search IconIcon to open search
          +
          \ No newline at end of file diff --git a/notes/philosophy/index.html b/notes/philosophy/index.html new file mode 100644 index 0000000..5c4f44e --- /dev/null +++ b/notes/philosophy/index.html @@ -0,0 +1,25 @@ +Quartz Philosophy + + + + + + + + + + + +
          +

          🪴 Quartz 3.3

          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 +Notion, +Roam, and +Obsidian, yet none of them have super easy to use free tools to publish that garden to the world.

            I’ve personally found that

            1. It’s nice to access notes from anywhere
            2. Having a public digital garden invites open conversations
            3. It makes keeping personal notes and knowledge playful and fun

            I was really inspired by +Bianca and +Joel’s digital gardens and wanted to try making my own.

            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.


            \ No newline at end of file diff --git a/notes/preview-changes/index.html b/notes/preview-changes/index.html new file mode 100644 index 0000000..7e6c7b8 --- /dev/null +++ b/notes/preview-changes/index.html @@ -0,0 +1,42 @@ +Preview Changes + + + + + + + + + + + +
            +

            🪴 Quartz 3.3

            Search

            Search IconIcon to open search
            +

            Preview Changes

            Last updated +Nov 20, 2022 +Edit Source

            If you’d like to preview what your Quartz site looks like before deploying it to the internet, the following +instructions guide you through installing the proper dependencies to run it locally.

            # 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
            +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
            +2
            +3
            +4
            +5
            +6
            +7
            +
            # Navigate to your local Quartz folder
            +cd <location-of-your-local-quartz>
            +
            +# Start local server
            +make serve
            +
            +# View your site in a browser at http://localhost:1313/
            +

            Docker Support

            If you have Docker installed already, open your terminal, navigate to your folder with Quartz and run make docker

            Now that you are happy with how your Quartz instance looks, let’s get it hosted!

            🌍 Step 5: +Hosting Quartz online!


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

            🪴 Quartz 3.3

            Search

            Search IconIcon to open search
            +

            Search

            Last updated +Nov 20, 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. Login or Register for a new Operand account. Click the verification link sent to your email, and you’ll be redirected to the dashboard. (Note) You do not need to enter a credit card to create an account, or get started with the Operand API. The first $10 of usage each month is free. To learn more, see pricing. If you go over your free quota, we’ll (politely) reach out and ask you to configure billing.
              2. Create your first index. On the dashboard, under “Indexes”, enter the name and description of your index, and click “Create Index”. Note down the ID of the index (obtained by clicking on the index name in the list of indexes), as you’ll need it in the next step. IDs are unique to each index, and look something like uqv1duxxbdxu.
              3. Click into the index you’ve created. Under “Index Something”, select “SITEMAP” from the dropdown and click “Add Source”.
              4. For the “Sitemap.xml URL”, put your deployed site’s base URL followed by sitemap.xml. For example, for quartz.jzhao.xyz, put https://quartz.jzhao.xyz/sitemap.xml. Leave the URL Regex empty.
              5. Get your API key. On the dashboard, under “API Keys”, you can manage your API keys. If you don’t already have an API key, click “Create API Key”. You’ll need this for the next step.
              6. Open data/config.yaml. Set enableSemanticSearch to true, operandApiKey to your copied key, and operandIndexId to the ID of the index we created from earlier..
              1
              +2
              +3
              +4
              +5
              +
              # the default option
              +search:
              +  enableSemanticSearch: true
              +  operandApiKey: "jp9k5hudse2a828z98kxd6z3payi8u90rnjf"
              +  operandIndexId: "s0kf3bd6tldw"
              +
              1. Push your changes to the site and wait for it to deploy.
              2. Check the Operand dashboard and wait for your site to index. Enjoy natural language search powered by Operand!

              \ No newline at end of file diff --git a/notes/setup/index.html b/notes/setup/index.html new file mode 100644 index 0000000..9b7fe4c --- /dev/null +++ b/notes/setup/index.html @@ -0,0 +1,28 @@ +Setup + + + + + + + + + + + +
              +

              🪴 Quartz 3.3

              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, +this resource is a great place to start!

              # Forking

              A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project.

              Navigate to the GitHub repository for the Quartz project:

              📁 +Quartz Repository

              Then, Fork the repository into your own GitHub account. If you don’t have an account, you can make on for free +here. More details about forking a repo can be found on +GitHub’s documentation.

              # Cloning

              After 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.

              1
              +
              git clone https://github.com/YOUR-USERNAME/quartz
              +

              # Editing

              Great! 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.

              ✏️ Step 2: +Editing Notes in Quartz

              Having problems? Checkout our +FAQ and Troubleshooting guide.


              \ No newline at end of file diff --git a/notes/showcase/index.html b/notes/showcase/index.html new file mode 100644 index 0000000..20b1183 --- /dev/null +++ b/notes/showcase/index.html @@ -0,0 +1,24 @@ +Showcase + + + + + + + + + + + +
              +

              🪴 Quartz 3.3

              Search

              Search IconIcon to open search
              +

              Showcase

              Last updated +Jan 31, 2023 +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 +Pull Request adding yourself to this file!


                \ No newline at end of file diff --git a/notes/troubleshooting/index.html b/notes/troubleshooting/index.html new file mode 100644 index 0000000..53fdb18 --- /dev/null +++ b/notes/troubleshooting/index.html @@ -0,0 +1,64 @@ +Troubleshooting and FAQ + + + + + + + + + + + +
                +

                🪴 Quartz 3.3

                Search

                Search IconIcon to open search
                +

                Troubleshooting and FAQ

                Last updated +Feb 5, 2023 +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 +Discord :)

                  # Does Quartz have Latex support?

                  Yes! See +CJK + Latex Support (测试) for a brief demo.

                  # Can I use <Obsidian Plugin> in Quartz?

                  Unless it produces direct Markdown output in the file, no. There currently is no way to bundle plugin code with Quartz.

                  The easiest way would be to add your own HTML partial that supports the functionality you are looking for.

                  # My GitHub pages is just showing the README and not Quartz

                  Make sure you set the source to deploy from master (and not hugo) using / (root)! See more in the +hosting guide

                  # Some of my pages have ‘January 1, 0001’ as the last modified date

                  This 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.

                  1
                  +2
                  +3
                  +4
                  +5
                  +
                  # in the root of your Quartz (same folder as config.toml)
                  +git config core.ignorecase true
                  +
                  +# or globally (not recommended)
                  +git config --global core.ignorecase true
                  +

                  # Can I publish only a subset of my pages?

                  Yes! Quartz makes selective publishing really easy. Heres a guide on +excluding pages from being published.

                  # Can I host this myself and not on GitHub Pages?

                  Yes! All built files can be found under /public in the master branch. More details under +hosting.

                  # 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.

                  1
                  +2
                  +3
                  +4
                  +5
                  +6
                  +
                  # Add the following 2 lines to your ~/.bash_profile
                  +export GOPATH=/Users/$USER/go
                  +export PATH=$GOPATH/bin:$PATH
                  +
                  +# In your current terminal, to reload the session
                  +source ~/.bash_profile
                  +

                  # How come my notes aren’t being rendered?

                  You probably forgot to include front matter in your Markdown files. You can either setup +Obsidian to do this for you or you need to manually define it. More details in +the ‘how to edit’ guide.

                  # My custom domain isn’t working!

                  Walk through the steps in +the hosting guide again. Make sure you wait 30 min to 1 hour for changes to take effect.

                  # How do I setup analytics?

                  Quartz by default uses +Plausible for analytics.

                  If you would prefer to use Google Analytics, you can follow this +guide in the Hugo documentation.

                  Alternatively, you can also import your Google Analytics data into Plausible by +following this guide.

                  # How do I change the content on the home page?

                  To edit the main home page, open /content/_index.md.

                  # How do I change the colours?

                  You can change the theme by editing assets/custom.scss. More details on customization and themeing can be found in the +customization guide.

                  # How do I add images?

                  You can put images anywhere in the /content folder.

                  1
                  +2
                  +
                  Example image (source is in content/notes/images/example.png)
                  +![Example Image](/content/notes/images/example.png)
                  +

                  By 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

                  # Can I use React/Vue/some other framework?

                  Not 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.

                  # Still Stuck?

                  Quartz 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 and I’ll try to get back to you as soon as I can.

                  🐛 +Submit an Issue


                  \ No newline at end of file diff --git a/notes/update/index.html b/notes/update/index.html new file mode 100644 index 0000000..5daafb1 --- /dev/null +++ b/notes/update/index.html @@ -0,0 +1 @@ +https://falsy.cat/notes/updating/ \ No newline at end of file diff --git a/notes/updating/index.html b/notes/updating/index.html new file mode 100644 index 0000000..aa2542f --- /dev/null +++ b/notes/updating/index.html @@ -0,0 +1,37 @@ +Updating + + + + + + + + + + + +
                  +

                  🪴 Quartz 3.3

                  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
                    +
                    make update
                    +

                    Or, 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!)

                    1
                    +
                    make update-force
                    +

                    Or, manually checkout the changes yourself.

                    Warning!

                    If you customized the files in data/, or anything inside layouts/, your customization may be overwritten! +Make sure you have a copy of these changes if you don’t want to lose them.

                    1
                    +2
                    +3
                    +4
                    +5
                    +6
                    +
                    # add Quartz as a remote host
                    +git remote add upstream git@github.com:jackyzha0/quartz.git
                    +
                    +# index and fetch changes
                    +git fetch upstream
                    +git checkout -p upstream/hugo -- layouts .github Makefile assets/js assets/styles/base.scss assets/styles/darkmode.scss config.toml data 
                    +

                    \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..b92c7cb --- /dev/null +++ b/sitemap.xml @@ -0,0 +1 @@ +https://falsy.cat/notes/setup/2022-07-13T23:37:54-07:00https://falsy.cat/notes/editing/2022-11-20T15:09:58-08:00https://falsy.cat/notes/obsidian/2023-01-31T19:48:20+01:00https://falsy.cat/notes/preview-changes/2022-11-20T15:09:58-08:00https://falsy.cat/notes/hosting/2022-11-20T15:09:58-08:00https://falsy.cat/notes/callouts/2022-08-05T11:08:52-07:00https://falsy.cat/categories/https://falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/https://falsy.cat/notes/config/2022-11-28T02:53:52+08:00https://falsy.cat/notes/custom-Domain/2022-01-27T09:38:28-08:00https://falsy.cat/2023-02-23T18:29:46+09:00https://falsy.cat/notes/docker/2023-01-18T17:25:01+01:00https://falsy.cat/notes/ignore-notes/2021-11-20T22:53:26-08:00https://falsy.cat/notes/2023-02-05T10:39:58-08:00https://falsy.cat/notes/philosophy/2021-11-20T22:53:26-08:00https://falsy.cat/notes/search/2022-11-20T15:09:58-08:00https://falsy.cat/tags/setup/2023-01-31T19:48:20+01:00https://falsy.cat/notes/showcase/2023-01-31T11:00:28-08:00https://falsy.cat/tags/2023-01-31T19:48:20+01:00https://falsy.cat/notes/troubleshooting/2023-02-05T10:39:58-08:00https://falsy.cat/notes/updating/2022-07-30T18:46:19-07:00 \ No newline at end of file diff --git a/styles.b369a84b3c6e6bfd686ad1f9da65641c.min.css b/styles.b369a84b3c6e6bfd686ad1f9da65641c.min.css new file mode 100644 index 0000000..a8cc21a --- /dev/null +++ b/styles.b369a84b3c6e6bfd686ad1f9da65641c.min.css @@ -0,0 +1 @@ +@import "https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&family=Inter:wght@400;600;700&family=Source+Sans+Pro:wght@400;600&display=swap";:root{--font-body:"Source Sans Pro";--font-header:"Inter";--font-mono:"Fira Code"}html{scroll-behavior:smooth}html:lang(ar) p,html:lang(ar) h1,html:lang(ar) h2,html:lang(ar) h3,html:lang(ar) article,html:lang(ar) header{direction:rtl;text-align:right}html footer>p{text-align:center!important}.singlePage{padding:4em 30vw;margin:0 auto;max-width:1000px}@media all and (max-width:1200px){.singlePage{padding:25px 5vw}}body{margin:0;height:100vh;width:100vw;max-width:100%;box-sizing:border-box;background-color:var(--light)}h1,h2,h3,h4,h5,h6,thead{font-family:var(--font-header);color:var(--dark);font-weight:revert;margin:2rem 0 0;padding:2rem auto 1rem}h1:hover>.hanchor,h2:hover>.hanchor,h3:hover>.hanchor,h4:hover>.hanchor,h5:hover>.hanchor,h6:hover>.hanchor,thead:hover>.hanchor{color:var(--secondary)}.hanchor{font-family:var(--font-header);opacity:.8;transition:color .3s ease;color:var(--dark)}p,ul,text,a,tr,td,li,ol,ul{font-family:var(--font-body);color:var(--gray);fill:var(--gray);font-weight:revert;margin:revert;padding:revert}tbody,li,p{line-height:1.5em}.mainTOC{border-radius:5px;padding:.75em 0}.mainTOC details summary{cursor:zoom-in;font-family:var(--font-header);color:var(--dark);font-weight:700}.mainTOC details[open] summary{cursor:zoom-out}#TableOfContents>ol{counter-reset:section;margin-left:0;padding-left:1.5em}#TableOfContents>ol>li{counter-increment:section}#TableOfContents>ol>li>ol{counter-reset:subsection}#TableOfContents>ol>li>ol>li{counter-increment:subsection}#TableOfContents>ol>li>ol>li::marker{content:counter(section)"." counter(subsection)" "}#TableOfContents>ol>li::marker{content:counter(section)" "}#TableOfContents>ol>li::marker,#TableOfContents>ol>li>ol>li::marker{font-family:var(--font-body);font-weight:700}table{border:1px solid var(--outlinegray);width:100%;padding:1.5em;border-collapse:collapse}td,th{padding:.2em 1em;border:1px solid var(--outlinegray)}img{max-width:100%;border-radius:3px;margin:1em 0}p>img+em{display:block;transform:translateY(-1em)}sup{line-height:0}blockquote{margin-left:0;border-left:3px solid var(--secondary);padding-left:1em;transition:border-color .2s ease}.footnotes p{margin:.5em 0}.pagination{list-style:none;padding-left:0;display:flex;margin-top:2em;gap:1.5em;justify-content:center}.pagination .disabled{opacity:.2}.pagination>li{text-align:center;display:inline-block}.pagination>li a{background-color:transparent!important}.pagination>li a[href$="#"],.pagination>li.active a{opacity:.2}article>h1{margin-top:2em;font-size:2em}article>.meta{margin:0 0 1em;opacity:.7}article a{font-weight:600}article a.internal-link{text-decoration:none;background-color:rgba(143,159,169,.15);padding:0 .1em;margin:auto -.1em;border-radius:3px}article a.internal-link.broken{opacity:.5;background-color:transparent}article p{overflow-wrap:anywhere}.tags{list-style:none;padding-left:0}.tags .meta{margin:1.5em 0}.tags .meta>h1{margin:0}.tags .meta>p{margin:0}.tags>li{display:inline-block;margin:.4em .2em}.tags>li>a{border-radius:8px;border:var(--outlinegray)1px solid;padding:.2em .5em}.tags>li>a::before{content:"#";margin-right:.3em;color:var(--outlinegray)}.backlinks a{font-weight:600;font-size:.9rem}sup>a{text-decoration:none;padding:0 .1em 0 .2em}#page-title{margin:0}#page-title>a{font-family:var(--font-header)}a{font-size:1em;font-weight:700;text-decoration:none;transition:all .2s ease;color:var(--secondary)}a:hover{color:var(--tertiary)!important}pre{font-family:var(--font-mono);padding:.75em;border-radius:3px;overflow-x:scroll}code{font-family:var(--font-mono);font-size:.85em;padding:.15em .3em;border-radius:5px;background:var(--lightgray)}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}footer{margin-top:4em;text-align:center}footer ul{padding-left:0}hr{width:100%;margin:2em auto;height:1px;border:none;background-color:var(--outlinegray)}.page-end{display:flex;flex-direction:row;gap:2em}@media all and (max-width:780px){.page-end{flex-direction:column}}.page-end>*{flex:1 0}.page-end>.backlinks-container>ul{list-style:none;padding:0;margin:0}.page-end>.backlinks-container>ul>li{margin:.5em 0;padding:.25em 1em;border:var(--outlinegray)1px solid;border-radius:5px}.page-end #graph-container{border:var(--outlinegray)1px solid;border-radius:5px;box-sizing:border-box;min-height:250px;margin:.5em 0}.page-end #graph-container>svg{margin-bottom:-5px}.centered{margin-top:30vh}.spacer{flex:auto}header{display:flex;flex-direction:row;align-items:center;margin:1em 0 2em}header>h1{font-size:2em}@media all and (max-width:600px){header>nav{display:none}}header #search-icon{background-color:var(--lightgray);border-radius:4px;height:2em;display:flex;align-items:center;cursor:pointer}header #search-icon>p{display:inline;padding:0 1.5em 0 2em}header svg{cursor:pointer;width:18px;min-width:18px;margin:0 .5em}header svg:hover .search-path{stroke:var(--tertiary)}header svg .search-path{stroke:var(--gray);stroke-width:2px;transition:stroke .5s ease}#search-container{position:fixed;z-index:9999;left:0;top:0;width:100vw;height:100%;overflow:scroll;display:none;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}#search-container>div{width:50%;margin-top:15vh;margin-left:auto;margin-right:auto}@media all and (max-width:1200px){#search-container>div{width:90%}}#search-container>div>*{width:100%;border-radius:4px;background:var(--light);box-shadow:0 14px 50px rgba(27,33,48,.12),0 10px 30px rgba(27,33,48,.16);margin-bottom:2em}#search-container>div>input{box-sizing:border-box;padding:.5em 1em;font-family:var(--font-body);color:var(--dark);font-size:1.1em;border:1px solid var(--outlinegray)}#search-container>div>input:focus{outline:none}#search-container>div>#results-container .result-card{padding:1em;cursor:pointer;transition:background .2s ease;border:1px solid var(--outlinegray);border-bottom:none;width:100%;font-family:inherit;font-size:100%;line-height:1.15;margin:0;overflow:visible;text-transform:none;text-align:left;background:var(--light);outline:none}#search-container>div>#results-container .result-card:hover,#search-container>div>#results-container .result-card:focus{background:rgba(180,180,180,.15)}#search-container>div>#results-container .result-card:first-of-type{border-top-left-radius:5px;border-top-right-radius:5px}#search-container>div>#results-container .result-card:last-of-type{border-bottom-left-radius:5px;border-bottom-right-radius:5px;border-bottom:1px solid var(--outlinegray)}#search-container>div>#results-container .result-card>h3,#search-container>div>#results-container .result-card>p{margin:0}.search-highlight{background-color:#afbfc966;padding:.05em .2em;border-radius:3px}.section-ul{list-style:none;margin-top:2em;padding-left:0}.section-li{margin-bottom:1em}.section-li>.section{display:flex;align-items:center}@media all and (max-width:600px){.section-li>.section .tags{display:none}}.section-li>.section h3>a{font-weight:700;margin:0}.section-li>.section p{margin:0;padding-right:1em;flex-basis:6em}.section-li h3{opacity:1;font-weight:700;margin:0}.section-li .meta{opacity:.6}@keyframes dropin{0%{display:none;opacity:0;visibility:hidden}1%{display:inline-block;opacity:0}100%{opacity:1;visibility:visible}}.popover{z-index:999;position:absolute;width:20rem;display:none;background-color:var(--light);padding:1rem;margin:1rem;border:1px solid var(--outlinegray);border-radius:5px;pointer-events:none;transition:opacity .2s ease,transform .2s ease;user-select:none;overflow-wrap:anywhere;box-shadow:6px 6px 36px rgba(0,0,0,.25)}@media all and (max-width:600px){.popover{display:none!important}}.popover.visible{opacity:1;visibility:visible;display:inline-block;animation:dropin .2s ease}.popover>h3{font-size:1rem;margin:.25rem 0}.popover .meta{margin-top:.25rem;opacity:.5;font-family:var(--font-mono);font-size:.8rem}.popover>p{margin:0;padding:.5rem 0}.popover>p,.popover>a{font-size:1rem;font-weight:400;user-select:none}#contact_buttons ul{list-style-type:none}#contact_buttons ul li{display:inline-block}#contact_buttons ul li a{padding:0 1em}mark{background-color:var(--highlighted);color:var(--gray)}.clipboard-button{position:absolute;display:flex;float:right;right:0;padding:.69em;margin:.5em;color:var(--outlinegray);border-color:var(--dark);background-color:var(--lightgray);filter:contrast(1.1);border:2px solid;border-radius:6px;font-size:.8em;z-index:1;opacity:0;transition:.12s}.clipboard-button>svg{fill:var(--light);filter:contrast(.3)}.clipboard-button:hover{cursor:pointer;border-color:var(--primary)}.clipboard-button:hover>svg{fill:var(--primary)}.clipboard-button:focus{outline:0}.highlight{position:relative}.highlight:hover>.clipboard-button{opacity:1;transition:.2s}.code-title{color:var(--primary);font-family:var(--font-mono);width:max-content;overflow-x:auto;display:inline-block;vertical-align:middle;font-weight:400;line-height:1em;position:relative;padding:.5em .6em .6em;max-width:calc(100% - 1.2em);margin-bottom:-.2em;z-index:-1;border-top-left-radius:.3em;border-top-right-radius:.3em;font-size:.9em;background-color:var(--lightgray);filter:hue-rotate(-30deg)contrast(1)opacity(.8)}:root{--light:#faf8f8;--dark:#141021;--secondary:#284b63;--tertiary:#84a59d;--visited:#afbfc9;--primary:#f28482;--gray:#4e4e4e;--lightgray:#f0f0f0;--outlinegray:#dadada;--million-progress-bar-color:var(--secondary);--highlighted:#f5dfaf88}[saved-theme=dark]{--light:#1e1e21 !important;--dark:#fbfffe !important;--secondary:#6b879a !important;--visited:#4a575e !important;--tertiary:#84a59d !important;--primary:#f58382 !important;--gray:#d4d4d4 !important;--lightgray:#292633 !important;--outlinegray:#343434 !important;--highlighted:#574010}.darkmode{float:right;padding:1em;min-width:30px;position:relative}@media all and (max-width:450px){.darkmode{padding:1em}}.darkmode>.toggle{display:none;box-sizing:border-box}.darkmode svg{opacity:0;position:absolute;width:20px;height:20px;top:calc(50% - 10px);margin:0 7px;fill:var(--gray);transition:opacity .1s ease}.toggle:checked~label>#dayIcon{opacity:0}.toggle:checked~label>#nightIcon{opacity:1}.toggle:not(:checked)~label>#dayIcon{opacity:1}.toggle:not(:checked)~label>#nightIcon{opacity:0}.chroma{overflow:hidden!important;background-color:var(--lightgray)!important}.chroma .lntable{width:auto!important;overflow:auto!important;display:block!important}.chroma .hl{display:block!important;width:100%!important}.chroma .lnt{margin-right:0!important;padding:0 0!important}.chroma .ln{margin-right:0!important;padding:0 0!important}.chroma .gd{color:#8b080b!important}.chroma .gi{font-weight:700!important}.lntd:first-of-type>.chroma{padding-right:0!important}.chroma code{font-family:var(--font-mono)!important;font-size:.85em!important;line-height:2em!important;background:0 0!important;padding:0!important}.chroma{border-radius:3px!important;margin:0!important}pre.chroma{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.katex{font-size:1.1em!important}:root{--callout-summary:#00b0ff;--callout-summary-accent:#7fd7ff;--callout-bug:#f50057;--callout-bug-accent:#ff7aa9;--callout-danger:#ff1744;--callout-danger-accent:#ff8aa1;--callout-example:#7c4dff;--callout-example-accent:#bda5ff;--callout-fail:#ff5252;--callout-fail-accent:#ffa8a8;--callout-info:#00b8d4;--callout-info-accent:#69ebff;--callout-note:#448aff;--callout-note-accent:#a1c4ff;--callout-question:#64dd17;--callout-question-accent:#b0f286;--callout-quote:#9e9e9e;--callout-quote-accent:#cecece;--callout-done:#00c853;--callout-done-accent:#63ffa4;--callout-important:#00bfa5;--callout-important-accent:#5fffe9;--callout-warning:#ff9100;--callout-warning-accent:#ffc87f}[saved-theme=dark]{--callout-summary:#00b0ff !important;--callout-summary-accent:#00587f !important;--callout-bug:#f50057 !important;--callout-bug-accent:#7a002b !important;--callout-danger:#ff1744 !important;--callout-danger-accent:#8b001a !important;--callout-example:#7c4dff !important;--callout-example-accent:#2b00a6 !important;--callout-fail:#ff5252 !important;--callout-fail-accent:#a80000 !important;--callout-info:#00b8d4 !important;--callout-info-accent:#005c6a !important;--callout-note:#448aff !important;--callout-note-accent:#003ca1 !important;--callout-question:#64dd17 !important;--callout-question-accent:#006429 !important;--callout-quote:#9e9e9e !important;--callout-quote-accent:#4f4f4f !important;--callout-done:#00c853 !important;--callout-done-accent:#006429 !important;--callout-important:#00bfa5 !important;--callout-important-accent:#005f52 !important;--callout-warning:#ff9100 !important;--callout-warning-accent:#7f4800 !important}blockquote.callout-collapsible{cursor:pointer}blockquote.callout-collapsible.callout-collapsible::after{content:'-';right:6px;font-weight:bolder;font-family:Courier New,Courier,monospace}blockquote.callout-collapsed{padding-bottom:0!important}blockquote.callout-collapsed>p{border-bottom-right-radius:5px!important}blockquote.callout-collapsed::after{content:'+'!important}blockquote.callout-collapsed>*:not(:first-child){display:none!important}blockquote[class*=-callout]{margin-right:0;border-radius:5px;position:relative;padding-left:0!important;padding-bottom:.25em;color:var(--dark);background-color:var(--lightgray);border-left:6px solid var(--primary)!important}blockquote[class*=-callout]>p{border-top-right-radius:5px;padding:.5em 1em;margin:0;color:var(--gray)}blockquote[class*=-callout]>p:first-child{font-weight:600;color:var(--dark);padding:.4em 30px}blockquote[class*=-callout]>p:first-child::after,blockquote.callout-collapsible::after{display:inline-block;height:18px;width:18px;position:absolute;top:.4em;margin:.2em .4em}blockquote[class*=-callout]>p:first-child{font-weight:700;padding:.4em 35px}blockquote[class*=-callout]>p:first-child::after{left:0}blockquote.summary-callout{border-left:6px solid var(--callout-summary)!important}blockquote.summary-callout>p:first-child{background-color:var(--callout-summary-accent)!important}blockquote.summary-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='book' class='svg-inline--callout-fa fa-book fa-w-14' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='book' class='svg-inline--callout-fa fa-book fa-w-14' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-summary)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.abstract-callout{border-left:6px solid var(--callout-summary)!important}blockquote.abstract-callout>p:first-child{background-color:var(--callout-summary-accent)!important}blockquote.abstract-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='book' class='svg-inline--callout-fa fa-book fa-w-14' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='book' class='svg-inline--callout-fa fa-book fa-w-14' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-summary)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.tldr-callout{border-left:6px solid var(--callout-summary)!important}blockquote.tldr-callout>p:first-child{background-color:var(--callout-summary-accent)!important}blockquote.tldr-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='book' class='svg-inline--callout-fa fa-book fa-w-14' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='book' class='svg-inline--callout-fa fa-book fa-w-14' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-summary)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.bug-callout{border-left:6px solid var(--callout-bug)!important}blockquote.bug-callout>p:first-child{background-color:var(--callout-bug-accent)!important}blockquote.bug-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='bug' class='svg-inline--callout-fa fa-bug fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='bug' class='svg-inline--callout-fa fa-bug fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-bug)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.danger-callout{border-left:6px solid var(--callout-danger)!important}blockquote.danger-callout>p:first-child{background-color:var(--callout-danger-accent)!important}blockquote.danger-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='bolt' class='svg-inline--callout-fa fa-bolt fa-w-10' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='currentColor' d='M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='bolt' class='svg-inline--callout-fa fa-bolt fa-w-10' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='currentColor' d='M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-danger)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.error-callout{border-left:6px solid var(--callout-danger)!important}blockquote.error-callout>p:first-child{background-color:var(--callout-danger-accent)!important}blockquote.error-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='bolt' class='svg-inline--callout-fa fa-bolt fa-w-10' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='currentColor' d='M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='bolt' class='svg-inline--callout-fa fa-bolt fa-w-10' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='currentColor' d='M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-danger)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.example-callout{border-left:6px solid var(--callout-example)!important}blockquote.example-callout>p:first-child{background-color:var(--callout-example-accent)!important}blockquote.example-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden=%22true%22 focusable=%22false%22 data-icon=%22list-ol%22 class=%22svg-inline--callout-fa fa-list-ol fa-w-16%22 role=%22img%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath fill=%22currentcolor%22 d=%22M61.77 401l17.5-20.15a19.92 19.92.0 005.07-14.19v-3.31C84.34 356 80.5 352 73 352H16a8 8 0 00-8 8v16a8 8 0 008 8h22.83a157.41 157.41.0 00-11 12.31l-5.61 7c-4 5.07-5.25 10.13-2.8 14.88l1.05 1.93c3 5.76 6.29 7.88 12.25 7.88h4.73c10.33.0 15.94 2.44 15.94 9.09.0 4.72-4.2 8.22-14.36 8.22a41.54 41.54.0 01-15.47-3.12c-6.49-3.88-11.74-3.5-15.6 3.12l-5.59 9.31c-3.72 6.13-3.19 11.72 2.63 15.94 7.71 4.69 20.38 9.44 37 9.44 34.16.0 48.5-22.75 48.5-44.12-.03-14.38-9.12-29.76-28.73-34.88zM496 224H176a16 16 0 00-16 16v32a16 16 0 0016 16h320a16 16 0 0016-16v-32a16 16 0 00-16-16zm0-160H176a16 16 0 00-16 16v32a16 16 0 0016 16h320a16 16 0 0016-16V80a16 16 0 00-16-16zm0 320H176a16 16 0 00-16 16v32a16 16 0 0016 16h320a16 16 0 0016-16v-32a16 16 0 00-16-16zM16 160h64a8 8 0 008-8v-16a8 8 0 00-8-8H64V40a8 8 0 00-8-8H32a8 8 0 00-7.14 4.42l-8 16A8 8 0 0024 64h8v64H16a8 8 0 00-8 8v16a8 8 0 008 8zm-3.91 160H80a8 8 0 008-8v-16a8 8 0 00-8-8H41.32c3.29-10.29 48.34-18.68 48.34-56.44.0-29.06-25-39.56-44.47-39.56-21.36.0-33.8 10-40.46 18.75-4.37 5.59-3 10.84 2.8 15.37l8.58 6.88c5.61 4.56 11 2.47 16.12-2.44a13.44 13.44.0 019.46-3.84c3.33.0 9.28 1.56 9.28 8.75C51 248.19.0 257.31.0 304.59v4C0 316 5.08 320 12.09 320z%22/%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden=%22true%22 focusable=%22false%22 data-icon=%22list-ol%22 class=%22svg-inline--callout-fa fa-list-ol fa-w-16%22 role=%22img%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath fill=%22currentcolor%22 d=%22M61.77 401l17.5-20.15a19.92 19.92.0 005.07-14.19v-3.31C84.34 356 80.5 352 73 352H16a8 8 0 00-8 8v16a8 8 0 008 8h22.83a157.41 157.41.0 00-11 12.31l-5.61 7c-4 5.07-5.25 10.13-2.8 14.88l1.05 1.93c3 5.76 6.29 7.88 12.25 7.88h4.73c10.33.0 15.94 2.44 15.94 9.09.0 4.72-4.2 8.22-14.36 8.22a41.54 41.54.0 01-15.47-3.12c-6.49-3.88-11.74-3.5-15.6 3.12l-5.59 9.31c-3.72 6.13-3.19 11.72 2.63 15.94 7.71 4.69 20.38 9.44 37 9.44 34.16.0 48.5-22.75 48.5-44.12-.03-14.38-9.12-29.76-28.73-34.88zM496 224H176a16 16 0 00-16 16v32a16 16 0 0016 16h320a16 16 0 0016-16v-32a16 16 0 00-16-16zm0-160H176a16 16 0 00-16 16v32a16 16 0 0016 16h320a16 16 0 0016-16V80a16 16 0 00-16-16zm0 320H176a16 16 0 00-16 16v32a16 16 0 0016 16h320a16 16 0 0016-16v-32a16 16 0 00-16-16zM16 160h64a8 8 0 008-8v-16a8 8 0 00-8-8H64V40a8 8 0 00-8-8H32a8 8 0 00-7.14 4.42l-8 16A8 8 0 0024 64h8v64H16a8 8 0 00-8 8v16a8 8 0 008 8zm-3.91 160H80a8 8 0 008-8v-16a8 8 0 00-8-8H41.32c3.29-10.29 48.34-18.68 48.34-56.44.0-29.06-25-39.56-44.47-39.56-21.36.0-33.8 10-40.46 18.75-4.37 5.59-3 10.84 2.8 15.37l8.58 6.88c5.61 4.56 11 2.47 16.12-2.44a13.44 13.44.0 019.46-3.84c3.33.0 9.28 1.56 9.28 8.75C51 248.19.0 257.31.0 304.59v4C0 316 5.08 320 12.09 320z%22/%3E%3C/svg%3E");background-color:var(--callout-example)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.fail-callout{border-left:6px solid var(--callout-fail)!important}blockquote.fail-callout>p:first-child{background-color:var(--callout-fail-accent)!important}blockquote.fail-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='times-circle' class='svg-inline--callout-fa fa-times-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='times-circle' class='svg-inline--callout-fa fa-times-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-fail)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.failure-callout{border-left:6px solid var(--callout-fail)!important}blockquote.failure-callout>p:first-child{background-color:var(--callout-fail-accent)!important}blockquote.failure-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='times-circle' class='svg-inline--callout-fa fa-times-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='times-circle' class='svg-inline--callout-fa fa-times-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-fail)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.missing-callout{border-left:6px solid var(--callout-fail)!important}blockquote.missing-callout>p:first-child{background-color:var(--callout-fail-accent)!important}blockquote.missing-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='times-circle' class='svg-inline--callout-fa fa-times-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='times-circle' class='svg-inline--callout-fa fa-times-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-fail)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.info-callout{border-left:6px solid var(--callout-info)!important}blockquote.info-callout>p:first-child{background-color:var(--callout-info-accent)!important}blockquote.info-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='info-circle' class='svg-inline--callout-fa fa-info-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='info-circle' class='svg-inline--callout-fa fa-info-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-info)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.todo-callout{border-left:6px solid var(--callout-info)!important}blockquote.todo-callout>p:first-child{background-color:var(--callout-info-accent)!important}blockquote.todo-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='info-circle' class='svg-inline--callout-fa fa-info-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='info-circle' class='svg-inline--callout-fa fa-info-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-info)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.note-callout{border-left:6px solid var(--callout-note)!important}blockquote.note-callout>p:first-child{background-color:var(--callout-note-accent)!important}blockquote.note-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='pencil-alt' class='svg-inline--callout-fa fa-pencil-alt fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='pencil-alt' class='svg-inline--callout-fa fa-pencil-alt fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-note)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.question-callout{border-left:6px solid var(--callout-question)!important}blockquote.question-callout>p:first-child{background-color:var(--callout-question-accent)!important}blockquote.question-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='question-circle' class='svg-inline--callout-fa fa-question-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='question-circle' class='svg-inline--callout-fa fa-question-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-question)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.help-callout{border-left:6px solid var(--callout-question)!important}blockquote.help-callout>p:first-child{background-color:var(--callout-question-accent)!important}blockquote.help-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='question-circle' class='svg-inline--callout-fa fa-question-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='question-circle' class='svg-inline--callout-fa fa-question-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-question)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.faq-callout{border-left:6px solid var(--callout-question)!important}blockquote.faq-callout>p:first-child{background-color:var(--callout-question-accent)!important}blockquote.faq-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='question-circle' class='svg-inline--callout-fa fa-question-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='question-circle' class='svg-inline--callout-fa fa-question-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-question)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.quote-callout{border-left:6px solid var(--callout-quote)!important}blockquote.quote-callout>p:first-child{background-color:var(--callout-quote-accent)!important}blockquote.quote-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='quote-right' class='svg-inline--callout-fa fa-quote-right fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='quote-right' class='svg-inline--callout-fa fa-quote-right fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-quote)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.cite-callout{border-left:6px solid var(--callout-quote)!important}blockquote.cite-callout>p:first-child{background-color:var(--callout-quote-accent)!important}blockquote.cite-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='quote-right' class='svg-inline--callout-fa fa-quote-right fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='quote-right' class='svg-inline--callout-fa fa-quote-right fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-quote)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.done-callout{border-left:6px solid var(--callout-done)!important}blockquote.done-callout>p:first-child{background-color:var(--callout-done-accent)!important}blockquote.done-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='check-circle' class='svg-inline--callout-fa fa-check-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='check-circle' class='svg-inline--callout-fa fa-check-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-done)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.success-callout{border-left:6px solid var(--callout-done)!important}blockquote.success-callout>p:first-child{background-color:var(--callout-done-accent)!important}blockquote.success-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='check-circle' class='svg-inline--callout-fa fa-check-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='check-circle' class='svg-inline--callout-fa fa-check-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-done)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.check-callout{border-left:6px solid var(--callout-done)!important}blockquote.check-callout>p:first-child{background-color:var(--callout-done-accent)!important}blockquote.check-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='check-circle' class='svg-inline--callout-fa fa-check-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='check-circle' class='svg-inline--callout-fa fa-check-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-done)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.important-callout{border-left:6px solid var(--callout-important)!important}blockquote.important-callout>p:first-child{background-color:var(--callout-important-accent)!important}blockquote.important-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='fire' class='svg-inline--callout-fa fa-fire fa-w-12' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='currentColor' d='M216 23.86c0-23.8-30.65-32.77-44.15-13.04C48 191.85 224 200 224 288c0 35.63-29.11 64.46-64.85 63.99-35.17-.45-63.15-29.77-63.15-64.94v-85.51c0-21.7-26.47-32.23-41.43-16.5C27.8 213.16 0 261.33 0 320c0 105.87 86.13 192 192 192s192-86.13 192-192c0-170.29-168-193-168-296.14z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='fire' class='svg-inline--callout-fa fa-fire fa-w-12' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='currentColor' d='M216 23.86c0-23.8-30.65-32.77-44.15-13.04C48 191.85 224 200 224 288c0 35.63-29.11 64.46-64.85 63.99-35.17-.45-63.15-29.77-63.15-64.94v-85.51c0-21.7-26.47-32.23-41.43-16.5C27.8 213.16 0 261.33 0 320c0 105.87 86.13 192 192 192s192-86.13 192-192c0-170.29-168-193-168-296.14z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-important)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.tip-callout{border-left:6px solid var(--callout-important)!important}blockquote.tip-callout>p:first-child{background-color:var(--callout-important-accent)!important}blockquote.tip-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='fire' class='svg-inline--callout-fa fa-fire fa-w-12' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='currentColor' d='M216 23.86c0-23.8-30.65-32.77-44.15-13.04C48 191.85 224 200 224 288c0 35.63-29.11 64.46-64.85 63.99-35.17-.45-63.15-29.77-63.15-64.94v-85.51c0-21.7-26.47-32.23-41.43-16.5C27.8 213.16 0 261.33 0 320c0 105.87 86.13 192 192 192s192-86.13 192-192c0-170.29-168-193-168-296.14z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='fire' class='svg-inline--callout-fa fa-fire fa-w-12' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='currentColor' d='M216 23.86c0-23.8-30.65-32.77-44.15-13.04C48 191.85 224 200 224 288c0 35.63-29.11 64.46-64.85 63.99-35.17-.45-63.15-29.77-63.15-64.94v-85.51c0-21.7-26.47-32.23-41.43-16.5C27.8 213.16 0 261.33 0 320c0 105.87 86.13 192 192 192s192-86.13 192-192c0-170.29-168-193-168-296.14z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-important)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.hint-callout{border-left:6px solid var(--callout-important)!important}blockquote.hint-callout>p:first-child{background-color:var(--callout-important-accent)!important}blockquote.hint-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='fire' class='svg-inline--callout-fa fa-fire fa-w-12' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='currentColor' d='M216 23.86c0-23.8-30.65-32.77-44.15-13.04C48 191.85 224 200 224 288c0 35.63-29.11 64.46-64.85 63.99-35.17-.45-63.15-29.77-63.15-64.94v-85.51c0-21.7-26.47-32.23-41.43-16.5C27.8 213.16 0 261.33 0 320c0 105.87 86.13 192 192 192s192-86.13 192-192c0-170.29-168-193-168-296.14z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='fire' class='svg-inline--callout-fa fa-fire fa-w-12' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='currentColor' d='M216 23.86c0-23.8-30.65-32.77-44.15-13.04C48 191.85 224 200 224 288c0 35.63-29.11 64.46-64.85 63.99-35.17-.45-63.15-29.77-63.15-64.94v-85.51c0-21.7-26.47-32.23-41.43-16.5C27.8 213.16 0 261.33 0 320c0 105.87 86.13 192 192 192s192-86.13 192-192c0-170.29-168-193-168-296.14z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-important)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.warning-callout{border-left:6px solid var(--callout-warning)!important}blockquote.warning-callout>p:first-child{background-color:var(--callout-warning-accent)!important}blockquote.warning-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='exclamation-triangle' class='svg-inline--callout-fa fa-exclamation-triangle fa-w-18' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='currentColor' d='M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='exclamation-triangle' class='svg-inline--callout-fa fa-exclamation-triangle fa-w-18' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='currentColor' d='M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-warning)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.caution-callout{border-left:6px solid var(--callout-warning)!important}blockquote.caution-callout>p:first-child{background-color:var(--callout-warning-accent)!important}blockquote.caution-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='exclamation-triangle' class='svg-inline--callout-fa fa-exclamation-triangle fa-w-18' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='currentColor' d='M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='exclamation-triangle' class='svg-inline--callout-fa fa-exclamation-triangle fa-w-18' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='currentColor' d='M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-warning)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}blockquote.attention-callout{border-left:6px solid var(--callout-warning)!important}blockquote.attention-callout>p:first-child{background-color:var(--callout-warning-accent)!important}blockquote.attention-callout>p:first-child::after{content:'';-webkit-mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='exclamation-triangle' class='svg-inline--callout-fa fa-exclamation-triangle fa-w-18' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='currentColor' d='M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'%3E%3C/path%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-icon='exclamation-triangle' class='svg-inline--callout-fa fa-exclamation-triangle fa-w-18' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='currentColor' d='M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'%3E%3C/path%3E%3C/svg%3E");background-color:var(--callout-warning)!important;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center} \ No newline at end of file diff --git a/styles/_dark_syntax.bec558461529f0dd343a0b008c343934.min.css b/styles/_dark_syntax.bec558461529f0dd343a0b008c343934.min.css new file mode 100644 index 0000000..8f6bb00 --- /dev/null +++ b/styles/_dark_syntax.bec558461529f0dd343a0b008c343934.min.css @@ -0,0 +1 @@ +.bg{color:#f8f8f2;background-color:#282a36}.chroma{color:#f8f8f2;background-color:#282a36}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable{border-spacing:0;padding:0;margin:0;border:0}.chroma .hl{background-color:#ffc}.chroma .lnt{white-space:pre;user-select:none;margin-right:.4em;padding:0 .4em;color:#7f7f7f}.chroma .ln{white-space:pre;user-select:none;margin-right:.4em;padding:0 .4em;color:#7f7f7f}.chroma .line{display:flex}.chroma .k{color:#ff79c6}.chroma .kc{color:#ff79c6}.chroma .kd{color:#8be9fd;font-style:italic}.chroma .kn{color:#ff79c6}.chroma .kp{color:#ff79c6}.chroma .kr{color:#ff79c6}.chroma .kt{color:#8be9fd}.chroma .na{color:#50fa7b}.chroma .nb{color:#8be9fd;font-style:italic}.chroma .nc{color:#50fa7b}.chroma .nf{color:#50fa7b}.chroma .nl{color:#8be9fd;font-style:italic}.chroma .nt{color:#ff79c6}.chroma .nv{color:#8be9fd;font-style:italic}.chroma .vc{color:#8be9fd;font-style:italic}.chroma .vg{color:#8be9fd;font-style:italic}.chroma .vi{color:#8be9fd;font-style:italic}.chroma .s{color:#f1fa8c}.chroma .sa{color:#f1fa8c}.chroma .sb{color:#f1fa8c}.chroma .sc{color:#f1fa8c}.chroma .dl{color:#f1fa8c}.chroma .sd{color:#f1fa8c}.chroma .s2{color:#f1fa8c}.chroma .se{color:#f1fa8c}.chroma .sh{color:#f1fa8c}.chroma .si{color:#f1fa8c}.chroma .sx{color:#f1fa8c}.chroma .sr{color:#f1fa8c}.chroma .s1{color:#f1fa8c}.chroma .ss{color:#f1fa8c}.chroma .m{color:#bd93f9}.chroma .mb{color:#bd93f9}.chroma .mf{color:#bd93f9}.chroma .mh{color:#bd93f9}.chroma .mi{color:#bd93f9}.chroma .il{color:#bd93f9}.chroma .mo{color:#bd93f9}.chroma .o{color:#ff79c6}.chroma .ow{color:#ff79c6}.chroma .c{color:#6272a4}.chroma .ch{color:#6272a4}.chroma .cm{color:#6272a4}.chroma .c1{color:#6272a4}.chroma .cs{color:#6272a4}.chroma .cp{color:#ff79c6}.chroma .cpf{color:#ff79c6}.chroma .gd{color:#f55}.chroma .ge{text-decoration:underline}.chroma .gh{font-weight:700}.chroma .gi{color:#50fa7b;font-weight:700}.chroma .go{color:#44475a}.chroma .gu{font-weight:700}.chroma .gl{text-decoration:underline} \ No newline at end of file diff --git a/styles/_light_syntax.86a48a52faebeaaf42158b72922b1c90.min.css b/styles/_light_syntax.86a48a52faebeaaf42158b72922b1c90.min.css new file mode 100644 index 0000000..80c22fe --- /dev/null +++ b/styles/_light_syntax.86a48a52faebeaaf42158b72922b1c90.min.css @@ -0,0 +1 @@ +.bg{color:#272822;background-color:#fafafa}.chroma{color:#272822;background-color:#fafafa}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable{border-spacing:0;padding:0;margin:0;border:0}.chroma .hl{background-color:#ffc}.chroma .lnt{white-space:pre;user-select:none;margin-right:.4em;padding:0 .4em;color:#7f7f7f}.chroma .ln{white-space:pre;user-select:none;margin-right:.4em;padding:0 .4em;color:#7f7f7f}.chroma .line{display:flex}.chroma .k{color:#00a8c8}.chroma .kc{color:#00a8c8}.chroma .kd{color:#00a8c8}.chroma .kn{color:#f92672}.chroma .kp{color:#00a8c8}.chroma .kr{color:#00a8c8}.chroma .kt{color:#00a8c8}.chroma .n{color:#111}.chroma .na{color:#75af00}.chroma .nb{color:#111}.chroma .bp{color:#111}.chroma .nc{color:#75af00}.chroma .no{color:#00a8c8}.chroma .nd{color:#75af00}.chroma .ni{color:#111}.chroma .ne{color:#75af00}.chroma .nf{color:#75af00}.chroma .fm{color:#111}.chroma .nl{color:#111}.chroma .nn{color:#111}.chroma .nx{color:#75af00}.chroma .py{color:#111}.chroma .nt{color:#f92672}.chroma .nv{color:#111}.chroma .vc{color:#111}.chroma .vg{color:#111}.chroma .vi{color:#111}.chroma .vm{color:#111}.chroma .l{color:#ae81ff}.chroma .ld{color:#d88200}.chroma .s{color:#d88200}.chroma .sa{color:#d88200}.chroma .sb{color:#d88200}.chroma .sc{color:#d88200}.chroma .dl{color:#d88200}.chroma .sd{color:#d88200}.chroma .s2{color:#d88200}.chroma .se{color:#8045ff}.chroma .sh{color:#d88200}.chroma .si{color:#d88200}.chroma .sx{color:#d88200}.chroma .sr{color:#d88200}.chroma .s1{color:#d88200}.chroma .ss{color:#d88200}.chroma .m{color:#ae81ff}.chroma .mb{color:#ae81ff}.chroma .mf{color:#ae81ff}.chroma .mh{color:#ae81ff}.chroma .mi{color:#ae81ff}.chroma .il{color:#ae81ff}.chroma .mo{color:#ae81ff}.chroma .o{color:#f92672}.chroma .ow{color:#f92672}.chroma .p{color:#111}.chroma .c{color:#75715e}.chroma .ch{color:#75715e}.chroma .cm{color:#75715e}.chroma .c1{color:#75715e}.chroma .cs{color:#75715e}.chroma .cp{color:#75715e}.chroma .cpf{color:#75715e}.chroma .ge{font-style:italic}.chroma .gs{font-weight:700} \ No newline at end of file diff --git a/tags/index.html b/tags/index.html new file mode 100644 index 0000000..6acc331 --- /dev/null +++ b/tags/index.html @@ -0,0 +1,18 @@ +Tags + + + + + + + + + + + +
                    +

                    🪴 Quartz 3.3

                    Search

                    Search IconIcon to open search
                    +
                    \ No newline at end of file diff --git a/tags/index.xml b/tags/index.xml new file mode 100644 index 0000000..d53f7ab --- /dev/null +++ b/tags/index.xml @@ -0,0 +1 @@ +Tags onhttps://falsy.cat/tags/Recent content in Tags onHugo -- gohugo.ioen-ussetuphttps://falsy.cat/tags/setup/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/tags/setup/ \ No newline at end of file diff --git a/tags/setup/index.html b/tags/setup/index.html new file mode 100644 index 0000000..34d91e1 --- /dev/null +++ b/tags/setup/index.html @@ -0,0 +1,18 @@ +setup + + + + + + + + + + + +
                    +

                    🪴 Quartz 3.3

                    Search

                    Search IconIcon to open search
                    +
                    \ No newline at end of file diff --git a/tags/setup/index.xml b/tags/setup/index.xml new file mode 100644 index 0000000..a8f06bf --- /dev/null +++ b/tags/setup/index.xml @@ -0,0 +1,2 @@ +setup onhttps://falsy.cat/tags/setup/Recent content in setup onHugo -- gohugo.ioen-usSetuphttps://falsy.cat/notes/setup/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/setup/Making your own Quartz Setting up Quartz requires a basic understanding of git. If you are unfamiliar, this resource is a great place to start!Editing Content in Quartzhttps://falsy.cat/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown. +Folder Structure Here&rsquo;s a rough overview of what&rsquo;s what.Obsidian Vault Integrationhttps://falsy.cat/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/obsidian/Setup Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.Preview Changeshttps://falsy.cat/notes/preview-changes/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/preview-changes/If you&rsquo;d like to preview what your Quartz site looks like before deploying it to the internet, the following instructions guide you through installing the proper dependencies to run it locally.Deploying Quartz to the Webhttps://falsy.cat/notes/hosting/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/hosting/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!Configurationhttps://falsy.cat/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/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.Hosting with Dockerhttps://falsy.cat/notes/docker/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/docker/If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to install Docker Compose and follow the instructions below than to install Quartz&rsquo;s dependencies manually. \ No newline at end of file diff --git a/tags/setup/page/1/index.html b/tags/setup/page/1/index.html new file mode 100644 index 0000000..b83b624 --- /dev/null +++ b/tags/setup/page/1/index.html @@ -0,0 +1 @@ +https://falsy.cat/tags/setup/ \ No newline at end of file