From cbae88fc4e9b98764cfccca2e85f265c4b894573 Mon Sep 17 00:00:00 2001
From: Adam Brangenberg <adambrangenberg@proton.me>
Date: Mon, 31 Jul 2023 04:08:32 +0000
Subject: [PATCH] Removing redundant properties (#356)

---
 content/features/syntax highlighting.md |   23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/content/features/syntax highlighting.md b/content/features/syntax highlighting.md
index adad043..68436c2 100644
--- a/content/features/syntax highlighting.md
+++ b/content/features/syntax highlighting.md
@@ -1,7 +1,7 @@
 ---
 title: Syntax Highlighting
-tags: 
-- plugins/transformer
+tags:
+  - plugin/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.
@@ -14,6 +14,7 @@
 > Syntax highlighting does have an impact on build speed if you have a lot of code snippets in your notes.
 
 ## Formatting
+
 Text inside `backticks` on a line will be formatted like code.
 
 ````
@@ -39,11 +40,12 @@
 ```
 
 ### Titles
+
 Add a file title to your code block, with text inside double quotes (`""`):
 
 ````
 ```js title="..."
- 
+
 ```
 ````
 
@@ -58,11 +60,12 @@
 ```
 
 ### Line highlighting
+
 Place a numeric range insideĀ `{}`.
 
 ````
 ```js {1-3,4}
- 
+
 ```
 ````
 
@@ -77,6 +80,7 @@
 ```
 
 ### Word highlighting
+
 A series of characters, like a literal regex.
 
 ````
@@ -87,16 +91,17 @@
 ````
 
 ```js /useState/
-const [age, setAge] = useState(50);
-const [name, setName] = useState('Taylor');
+const [age, setAge] = useState(50)
+const [name, setName] = useState("Taylor")
 ```
 
 ### Line numbers
+
 Syntax highlighting has line numbers configured automatically. If you want to start line numbers at a specific number, useĀ `showLineNumbers{number}`:
 
 ````
 ```js showLineNumbers{number}
- 
+
 ```
 ````
 
@@ -111,6 +116,7 @@
 ```
 
 ### Escaping code blocks
+
 You can format a codeblock inside of a codeblock by wrapping it with another level of backtick fences that has one more backtick than the previous fence.
 
 `````
@@ -123,6 +129,7 @@
 `````
 
 ## Customization
+
 - Removing syntax highlighting: delete all usages of `Plugin.SyntaxHighlighting()` from `quartz.config.ts`.
 - Style: By default, Quartz uses derivatives of the GitHub light and dark themes. You can customize the colours in the `quartz/styles/syntax.scss` file.
-- Plugin: `quartz/plugins/transformers/syntax.ts`
\ No newline at end of file
+- Plugin: `quartz/plugins/transformers/syntax.ts`

--
Gitblit v1.10.0