Skip to content

Commit 061c065

Browse files
committed
tests - use include for eaiser tweaking
1 parent e19cef3 commit 061c065

26 files changed

+40
-375
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Light and Dark Mode Testing
2+
3+
This document can be viewed in both light mode and dark mode to test code highlighting in both color schemes.
4+
5+
```{.julia}
6+
function divide_floats(x::Float64, y::Float64)
7+
return x / y
8+
end
9+
```
10+
11+
And here the inline version `function divide_floats(x::Float64, y::Float64)`{.julia}.
12+
13+
::: {.callout-note}
14+
The tests will automatically check the highlighting in both light and dark modes using Playwright's color scheme testing capabilities.
15+
:::

tests/docs/playwright/html/code-highlight/code-highlight-a11y.qmd

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,4 @@ title: Testing a11y code highlight
33
highlight-style: a11y
44
---
55

6-
## Light and Dark Mode Testing
7-
8-
This document can be viewed in both light mode and dark mode to test code highlighting in both color schemes.
9-
10-
```{.julia}
11-
function divide_floats(x::Float64, y::Float64)
12-
return x / y
13-
end
14-
```
15-
16-
And here the inline version `function divide_floats(x::Float64, y::Float64)`{.julia}.
17-
18-
::: {.callout-note}
19-
The tests will automatically check the highlighting in both light and dark modes using Playwright's color scheme testing capabilities.
20-
:::
6+
{{< include _body.md >}}

tests/docs/playwright/html/code-highlight/code-highlight-arrow.qmd

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,4 @@ title: Testing arrow code highlight
33
highlight-style: arrow
44
---
55

6-
## Light and Dark Mode Testing
7-
8-
This document can be viewed in both light mode and dark mode to test code highlighting in both color schemes.
9-
10-
```{.julia}
11-
function divide_floats(x::Float64, y::Float64)
12-
return x / y
13-
end
14-
```
15-
16-
And here the inline version `function divide_floats(x::Float64, y::Float64)`{.julia}.
17-
18-
::: {.callout-note}
19-
The tests will automatically check the highlighting in both light and dark modes using Playwright's color scheme testing capabilities.
20-
:::
6+
{{< include _body.md >}}

tests/docs/playwright/html/code-highlight/code-highlight-atom-one.qmd

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,4 @@ title: Testing atom-one code highlight
33
highlight-style: atom-one
44
---
55

6-
## Light and Dark Mode Testing
7-
8-
This document can be viewed in both light mode and dark mode to test code highlighting in both color schemes.
9-
10-
```{.julia}
11-
function divide_floats(x::Float64, y::Float64)
12-
return x / y
13-
end
14-
```
15-
16-
And here the inline version `function divide_floats(x::Float64, y::Float64)`{.julia}.
17-
18-
::: {.callout-note}
19-
The tests will automatically check the highlighting in both light and dark modes using Playwright's color scheme testing capabilities.
20-
:::
6+
{{< include _body.md >}}

tests/docs/playwright/html/code-highlight/code-highlight-ayu-mirage.qmd

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,4 @@ title: Testing ayu-mirage code highlight
33
highlight-style: ayu-mirage
44
---
55

6-
## Light and Dark Mode Testing
7-
8-
This document can be viewed in both light mode and dark mode to test code highlighting in both color schemes.
9-
10-
```{.julia}
11-
function divide_floats(x::Float64, y::Float64)
12-
return x / y
13-
end
14-
```
15-
16-
And here the inline version `function divide_floats(x::Float64, y::Float64)`{.julia}.
17-
18-
::: {.callout-note}
19-
The tests will automatically check the highlighting in both light and dark modes using Playwright's color scheme testing capabilities.
20-
:::
6+
{{< include _body.md >}}

tests/docs/playwright/html/code-highlight/code-highlight-ayu.qmd

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,4 @@ title: Testing ayu code highlight
33
highlight-style: ayu
44
---
55

6-
## Light and Dark Mode Testing
7-
8-
This document can be viewed in both light mode and dark mode to test code highlighting in both color schemes.
9-
10-
```{.julia}
11-
function divide_floats(x::Float64, y::Float64)
12-
return x / y
13-
end
14-
```
15-
16-
And here the inline version `function divide_floats(x::Float64, y::Float64)`{.julia}.
17-
18-
::: {.callout-note}
19-
The tests will automatically check the highlighting in both light and dark modes using Playwright's color scheme testing capabilities.
20-
:::
6+
{{< include _body.md >}}

tests/docs/playwright/html/code-highlight/code-highlight-breeze.qmd

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,4 @@ title: Testing breeze code highlight
33
highlight-style: breeze
44
---
55

6-
## Light and Dark Mode Testing
7-
8-
This document can be viewed in both light mode and dark mode to test code highlighting in both color schemes.
9-
10-
```{.julia}
11-
function divide_floats(x::Float64, y::Float64)
12-
return x / y
13-
end
14-
```
15-
16-
And here the inline version `function divide_floats(x::Float64, y::Float64)`{.julia}.
17-
18-
::: {.callout-note}
19-
The tests will automatically check the highlighting in both light and dark modes using Playwright's color scheme testing capabilities.
20-
:::
6+
{{< include _body.md >}}

tests/docs/playwright/html/code-highlight/code-highlight-breezedark.qmd

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,4 @@ title: Testing breezedark code highlight
33
highlight-style: breezedark
44
---
55

6-
## Light and Dark Mode Testing
7-
8-
This document can be viewed in both light mode and dark mode to test code highlighting in both color schemes.
9-
10-
```{.julia}
11-
function divide_floats(x::Float64, y::Float64)
12-
return x / y
13-
end
14-
```
15-
16-
And here the inline version `function divide_floats(x::Float64, y::Float64)`{.julia}.
17-
18-
::: {.callout-note}
19-
The tests will automatically check the highlighting in both light and dark modes using Playwright's color scheme testing capabilities.
20-
:::
6+
{{< include _body.md >}}

tests/docs/playwright/html/code-highlight/code-highlight-dracula.qmd

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,4 @@ title: Testing dracula code highlight
33
highlight-style: dracula
44
---
55

6-
## Light and Dark Mode Testing
7-
8-
This document can be viewed in both light mode and dark mode to test code highlighting in both color schemes.
9-
10-
```{.julia}
11-
function divide_floats(x::Float64, y::Float64)
12-
return x / y
13-
end
14-
```
15-
16-
And here the inline version `function divide_floats(x::Float64, y::Float64)`{.julia}.
17-
18-
::: {.callout-note}
19-
The tests will automatically check the highlighting in both light and dark modes using Playwright's color scheme testing capabilities.
20-
:::
6+
{{< include _body.md >}}

tests/docs/playwright/html/code-highlight/code-highlight-espresso.qmd

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,4 @@ title: Testing espresso code highlight
33
highlight-style: espresso
44
---
55

6-
## Light and Dark Mode Testing
7-
8-
This document can be viewed in both light mode and dark mode to test code highlighting in both color schemes.
9-
10-
```{.julia}
11-
function divide_floats(x::Float64, y::Float64)
12-
return x / y
13-
end
14-
```
15-
16-
And here the inline version `function divide_floats(x::Float64, y::Float64)`{.julia}.
17-
18-
::: {.callout-note}
19-
The tests will automatically check the highlighting in both light and dark modes using Playwright's color scheme testing capabilities.
20-
:::
6+
{{< include _body.md >}}

0 commit comments

Comments
 (0)