Adjust heading levels in docs (#7163)

This PR adjusts the heading levels in the docs, as some of them weren't
following the right hierarchy.

I also formatted all of the docs with Prettier.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2024-01-31 12:34:31 -05:00
committed by GitHub
parent 6e443ac298
commit 39200ec9f7
14 changed files with 144 additions and 137 deletions
+5 -5
View File
@@ -18,10 +18,10 @@ We use tree-sitter queries to match certain properties to highlight.
```ts
const font: FontFamily = {
weight: "normal",
underline: false,
italic: false,
}
weight: "normal",
underline: false,
italic: false,
};
```
Match a property identifier and highlight it using the identifier `@property`. In the above example, `weight`, `underline`, and `italic` would be highlighted.
@@ -40,7 +40,7 @@ Match a property identifier and highlight it using the identifier `@property`. I
```ts
function buildDefaultSyntax(colorScheme: Theme): Partial<Syntax> {
// ...
// ...
}
```