mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 23:15:46 -05:00
Pull-Request [ariasae-11-13-2023] from Obsidian (#40)
* PUSH NOTE : Zola.md * PUSH NOTE : Meta.md * PUSH NOTE : Tools.md * PUSH NOTE : Inspirations.md * PUSH NOTE : index.md * PUSH NOTE : Digital Garden.md * PUSH NOTE : Words I Like.md * PUSH NOTE : About.md * DELETE FILE : docs/features/table of contents.md
This commit is contained in:
parent
fb44358fe3
commit
558fc5fcd8
@ -1,7 +1,7 @@
|
||||
---
|
||||
title: About
|
||||
compartir: true
|
||||
updated: 2023-10-19
|
||||
updated: 2023-11-13
|
||||
tags: [meta]
|
||||
---
|
||||
## Hi! I'm Miguel 👋🏼
|
||||
@ -12,14 +12,13 @@ I think a lot, work a lot, have existential crises, and know just enough about m
|
||||
|
||||
If you are aching for more, check out what [[./Tools|tools]] I use daily, or read my [[./Public Journal|public journal]].
|
||||
|
||||
### As of October 2023, I am…
|
||||
### As of November 2023, I am…
|
||||
|
||||
… tending to my [digital garden](https://forgetfulnotes.com/).
|
||||
… learning about web dev with [Zola](https://www.getzola.org).
|
||||
… making simple browser [extensions](https://addons.mozilla.org/en-US/firefox/user/17772574/).
|
||||
… collecting bookmarks with [Raindrop](https://raindrop.io/SemanticData).
|
||||
… compiling [configuration files](https://github.com/semanticdata/dotfiles) in [GitHub](https://github.com/).
|
||||
… developing both a [theme](https://github.com/semanticdata/obsidian-sample-theme), and a [starter vault](https://github.com/semanticdata/obsidian-starter-vault) for [Obsidian](https://obsidian.md/).
|
||||
… developing a [theme](https://github.com/semanticdata/obsidian-sample-theme) for [Obsidian](https://obsidian.md/).
|
||||
|
||||
### Reach Out
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
title: Tools I Use
|
||||
tags: [list]
|
||||
compartir: true
|
||||
updated: 2023-10-19
|
||||
updated: 2023-11-13
|
||||
---
|
||||
|
||||
A non-comprehensive list of the hardware and software I use on a day-to-day basis.
|
||||
@ -15,10 +15,9 @@ A non-comprehensive list of the hardware and software I use on a day-to-day basi
|
||||
|
||||
## Software
|
||||
|
||||
* [TickTick](https://ticktick.com/) – Task Manager
|
||||
* [Raindrop](https://raindrop.io/) – Bookmarks Manager
|
||||
* [Obsidian](https://obsidian.md/) – Markdown Text Editor
|
||||
* [Visual Studio Code](https://code.visualstudio.com/) – Code Editor
|
||||
* [Raindrop](https://raindrop.io/) – Bookmarks Manager
|
||||
|
||||
### Notable Visual Studio Code Extensions
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
title: Words I Like
|
||||
tags: [collection]
|
||||
compartir: true
|
||||
updated: 2023-10-31
|
||||
updated: 2023-11-06
|
||||
enableToc: true
|
||||
---
|
||||
[Good Source](https://wordwarriors.wayne.edu/list)
|
||||
@ -122,6 +122,12 @@ Also used as a _noun_ to describe something that soothes, calms, or comforts.
|
||||
|
||||
1. Characterised by lethargy; sluggish.
|
||||
|
||||
### Lozenge (noun)
|
||||
|
||||
1. A small, medicated candy intended to be dissolved slowly in the mouth to lubricate and soothe irritated tissues of the throat.
|
||||
2. A four-sided planar figure with a diamondlike shape; a rhombus that is not a square.
|
||||
3. Something having this shape, especially a heraldic device.
|
||||
|
||||
### Palliate (verb)
|
||||
|
||||
1. To reduce the violence of (a disease).
|
||||
|
||||
38
content/Zola.md
Normal file
38
content/Zola.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: Zola
|
||||
description: "Zola is a fast static site generator in a single binary with everything built-in."
|
||||
updated: 2023-11-03
|
||||
compartir: true
|
||||
---
|
||||
|
||||
[Zola](https:) is a fast [[./Static Site Generators|static site generator]] contained in a single binary with everything built-in. It is by far my preferred way to build static websites.
|
||||
|
||||
## Useful Commands
|
||||
|
||||
```bash
|
||||
zola build --base-url $DEPLOY_URL
|
||||
```
|
||||
|
||||
```bash
|
||||
zola build --output-dir $DOCUMENT_ROOT
|
||||
```
|
||||
|
||||
```bash
|
||||
zola --config config.staging.toml build
|
||||
```
|
||||
|
||||
```bash
|
||||
zola --root /path/to/project build
|
||||
```
|
||||
|
||||
```bash
|
||||
zola init
|
||||
```
|
||||
|
||||
```bash
|
||||
zola serve
|
||||
```
|
||||
|
||||
```bash
|
||||
zola check
|
||||
```
|
||||
@ -1,26 +0,0 @@
|
||||
---
|
||||
title: "Table of Contents"
|
||||
tags:
|
||||
- component
|
||||
- plugin/transformer
|
||||
---
|
||||
|
||||
Quartz can automatically generate a table of contents from a list of headings on each page. It will also show you your current scroll position on the site by marking headings you've scrolled through with a different colour.
|
||||
|
||||
By default, it will show all headers from H1 (`# Title`) all the way to H3 (`### Title`) and will only show the table of contents if there is more than 1 header on the page.
|
||||
You can also hide the table of contents on a page by adding `enableToc: false` to the frontmatter for that page.
|
||||
|
||||
> [!info]
|
||||
> This feature requires both `Plugin.TableOfContents` in your `quartz.config.ts` and `Component.TableOfContents` in your `quartz.layout.ts` to function correctly.
|
||||
|
||||
## Customization
|
||||
|
||||
- Removing table of contents: remove all instances of `Plugin.TableOfContents()` from `quartz.config.ts`. and `Component.TableOfContents()` from `quartz.layout.ts`
|
||||
- Changing the max depth: pass in a parameter to `Plugin.TableOfContents({ maxDepth: 4 })`
|
||||
- Changing the minimum number of entries in the Table of Contents before it renders: pass in a parameter to `Plugin.TableOfContents({ minEntries: 3 })`
|
||||
- Collapse the table of content by default: pass in a parameter to `Plugin.TableOfContents({ collapseByDefault: true })`
|
||||
- Component: `quartz/components/TableOfContents.tsx`
|
||||
- Style:
|
||||
- Modern (default): `quartz/components/styles/toc.scss`
|
||||
- Legacy Quartz 3 style: `quartz/components/styles/legacyToc.scss`
|
||||
- Script: `quartz/components/scripts/toc.inline.ts`
|
||||
Loading…
Reference in New Issue
Block a user