Skip to content

Commit 0cb490e

Browse files
authoredMar 19, 2024
Merge pull request #218 from Trivadis/feature/issue-210-highlight
Highlight violating lines in bad examples and fixes in good examples
2 parents 639ea44 + 035aa2b commit 0cb490e

File tree

124 files changed

+271
-273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+271
-273
lines changed
 

‎docs/4-language-usage/1-general/g-1010.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It's a good alternative for comments to indicate the start and end of a named pr
99

1010
## Example (bad)
1111

12-
``` sql
12+
``` sql hl_lines="2 4 6 8"
1313
begin
1414
begin
1515
null;
@@ -24,7 +24,7 @@ end;
2424

2525
## Example (good)
2626

27-
``` sql
27+
``` sql hl_lines="2 5 7 10"
2828
begin
2929
<<prepare_data>>
3030
begin

‎docs/4-language-usage/1-general/g-1020.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Use a label directly in front of loops and nested anonymous blocks:
1212

1313
## Example (bad)
1414

15-
``` sql
15+
``` sql hl_lines="10 15 22 27 33"
1616
declare
1717
i integer;
1818
co_min_value constant integer := 1;
@@ -52,7 +52,7 @@ end;
5252

5353
## Example (good)
5454

55-
``` sql
55+
``` sql hl_lines="10 15 22 27 33"
5656
declare
5757
i integer;
5858
co_min_value constant integer := 1;

0 commit comments

Comments
 (0)