Skip to content

Commit

Permalink
finish path refactoring, add sourcemap + better trace support
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Jul 16, 2023
1 parent 906f91f commit 3ac6b42
Show file tree
Hide file tree
Showing 36 changed files with 331 additions and 1,170 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
.gitignore
node_modules
public
tsconfig.tsbuildinfo
.obsidian
.quartz-cache
4 changes: 2 additions & 2 deletions content/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This part of the configuration concerns anything that can affect the whole site.
- `dark`: header text and icons
- `secondary`: link colour, current [[graph view|graph]] node
- `tertiary`: hover states and visited [[graph view|graph]] nodes
- `highlight`: internal link background, highlighted text, highlighted [[syntax highlighting|lines of code]]
- `highlight`: internal link background, highlighted text, [[syntax highlighting|highlighted lines of code]]

## Plugins
You can think of Quartz plugins as a series of transformations over content.
Expand All @@ -62,7 +62,7 @@ plugins: {
By adding, removing, and reordering plugins from the `tranformers`, `filters`, and `emitters` fields, you can customize the behaviour of Quartz.

> [!note]
> Note that each node is modified by every transformer *in order*. Some transformers are position-sensitive so you may need to take special note of whether it needs come before or after any other particular plugins.
> Each node is modified by every transformer *in order*. Some transformers are position-sensitive so you may need to take special note of whether it needs come before or after any other particular plugins.
Additionally, plugins may also have their own configuration settings that you can pass in. For example, the [[Latex]] plugin allows you to pass in a field specifying the `renderEngine` to choose between Katex and MathJax.

Expand Down
5 changes: 0 additions & 5 deletions content/features/Latex.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
---
tags:
- plugins/transformer
---

Quartz uses [Katex](https://katex.org/) by default to typeset both inline and block math expressions at build time.

## Formatting
Expand Down
2 changes: 0 additions & 2 deletions content/features/syntax highlighting.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Syntax Highlighting
tags:
- plugins/transformer
---

Syntax highlighting in Quartz is completely done at build-time. This means that Quartz only ships pre-calculated CSS to highlight the right words so there is no heavy client-side bundle that does the syntax highlighting.
Expand Down
5 changes: 5 additions & 0 deletions content/features/table of contents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Table of Contents"
tags:
- component
---
8 changes: 7 additions & 1 deletion content/features/upcoming features.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

- fixes
- changing `_index` files
- typography
- CLI
- update
- push
Expand Down Expand Up @@ -29,4 +31,8 @@
- mermaid styling: [https://mermaid.js.org/config/theming.html#theme-variables-reference-table](https://mermaid.js.org/config/theming.html#theme-variables-reference-table)
- [https://github.com/jackyzha0/quartz/issues/331](https://github.com/jackyzha0/quartz/issues/331)
- block links: [https://help.obsidian.md/Linking+notes+and+files/Internal+links#Link+to+a+block+in+a+note](https://help.obsidian.md/Linking+notes+and+files/Internal+links#Link+to+a+block+in+a+note)
- note/header/block transcludes: [https://help.obsidian.md/Linking+notes+and+files/Embedding+files](https://help.obsidian.md/Linking+notes+and+files/Embedding+files)
- note/header/block transcludes: [https://help.obsidian.md/Linking+notes+and+files/Embedding+files](https://help.obsidian.md/Linking+notes+and+files/Embedding+files)
- parse all images in page
- use this for page lists if applicable?
- CV mode?
- with print stylesheet
Loading

0 comments on commit 3ac6b42

Please sign in to comment.