File tree Expand file tree Collapse file tree 2 files changed +96
-0
lines changed
apps/vscode/src/test/examples Expand file tree Collapse file tree 2 files changed +96
-0
lines changed Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments