Skip to content

Commit 9b4c291

Browse files
committed
add snapshot test
1 parent 0fef2db commit 9b4c291

File tree

2 files changed

+96
-0
lines changed

2 files changed

+96
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Testing equals signs in attribute values
2+
3+
This test document validates that equals signs in attribute values are handled correctly.
4+
5+
## Basic examples
6+
7+
- Basic link with equals in value: [Link text](https://example.com){key=value=with=equals}
8+
9+
- Link with URL parameter: [Query link](https://example.com?param=value){.class key=query=param}
10+
11+
- Span with complex value: [Span text]{#id .class key=complex=value}
12+
13+
## More complex examples
14+
15+
- CSS style with equals: [Styled text]{style=color:red;font-size=12px}
16+
17+
- Math expression value: [Math formula]{formula=E=mc^2}
18+
19+
- Code with equals: `code sample`{lang=c++ key=value=val}
20+
21+
## Code blocks
22+
23+
```{python key=value=equals}
24+
print("Testing equals in attribute values")
25+
```
26+
27+
```{r eval=1+1=2}
28+
print("R code with equals in attributes")
29+
```
30+
31+
## Div with attributes
32+
33+
:::{#div-id key=value=with=multiple=equals}
34+
This is a div with multiple equals signs in attribute values.
35+
:::
36+
37+
## Image with equals signs
38+
39+
![Image caption](image.png){width=50% height=30% key=value=equals}
40+
41+
## Table with equals signs
42+
43+
| Col1 | Col2 |
44+
|------|------|
45+
| A | B |
46+
| C | D |
47+
48+
: Table caption {#tbl-id tbl-colwidths="[50,50]" key=value=with=equals}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Testing equals signs in attribute values
2+
3+
This test document validates that equals signs in attribute values are handled correctly.
4+
5+
## Basic examples
6+
7+
- Basic link with equals in value: [Link text](https://example.com){key="value=with=equals"}
8+
9+
- Link with URL parameter: [Query link](https://example.com?param=value){.class key="query=param"}
10+
11+
- Span with complex value: [Span text]{#id .class key="complex=value"}
12+
13+
## More complex examples
14+
15+
- CSS style with equals: [Styled text]{style="color:red;font-size=12px"}
16+
17+
- Math expression value: [Math formula]{formula="E=mc^2"}
18+
19+
- Code with equals: `code sample`{lang="c++" key="value=val"}
20+
21+
## Code blocks
22+
23+
```{python key=value=equals}
24+
print("Testing equals in attribute values")
25+
```
26+
27+
```{r eval=1+1=2}
28+
print("R code with equals in attributes")
29+
```
30+
31+
## Div with attributes
32+
33+
::: {#div-id key="value=with=multiple=equals"}
34+
This is a div with multiple equals signs in attribute values.
35+
:::
36+
37+
## Image with equals signs
38+
39+
![Image caption](image.png){width="50%" height="30%" key="value=equals"}
40+
41+
## Table with equals signs
42+
43+
| Col1 | Col2 |
44+
|------|------|
45+
| A | B |
46+
| C | D |
47+
48+
: Table caption {#tbl-id tbl-colwidths="\[50,50\]" key=value=with=equals}

0 commit comments

Comments
 (0)