Skip to content

Commit

Permalink
Enable syntax highlighting in docs (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
nene authored Feb 10, 2025
2 parents 6268cd5 + 3b6908b commit 93a423b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/linesBetweenQueries.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ A number of empty lines. Defaults to `1`. Must be positive.

### linesBetweenQueries: 1 (default)

```
```sql
SELECT
*
FROM
Expand All @@ -25,7 +25,7 @@ FROM

### linesBetweenQueries: 0

```
```sql
SELECT
*
FROM
Expand All @@ -38,7 +38,7 @@ FROM

### linesBetweenQueries: 2

```
```sql
SELECT
*
FROM
Expand Down
4 changes: 2 additions & 2 deletions docs/logicalOperatorNewline.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Decides newline placement before or after logical operators (AND, OR, XOR).

### before

```
```sql
SELECT
*
FROM
Expand All @@ -22,7 +22,7 @@ WHERE

### after

```
```sql
SELECT
*
FROM
Expand Down
4 changes: 2 additions & 2 deletions docs/newlineBeforeSemicolon.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Whether to place query separator (`;`) on a separate line.

### newlineBeforeSemicolon: false (default)

```
```sql
SELECT
*
FROM
Expand All @@ -18,7 +18,7 @@ FROM

### newlineBeforeSemicolon: true

```
```sql
SELECT
*
FROM
Expand Down
6 changes: 3 additions & 3 deletions docs/tabWidth.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This option is ignored when `useTabs` option is enabled.

### Indenting by 2 spaces (default)

```
```sql
SELECT
*,
FROM
Expand All @@ -33,7 +33,7 @@ GROUP BY column4

Using `indent: 4`:

```
```sql
SELECT
*,
FROM
Expand All @@ -55,7 +55,7 @@ GROUP BY column4

Using `indent: "\t"`:

```
```sql
SELECT
*,
FROM
Expand Down
2 changes: 1 addition & 1 deletion docs/useTabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Uses TAB characters for indentation.

Using `useTabs: true`:

```
```sql
SELECT
*,
FROM
Expand Down

0 comments on commit 93a423b

Please sign in to comment.