Skip to content

Commit aaad6ca

Browse files
authored
Fix markdown for logical OR (||); (#971)
1 parent 60d451b commit aaad6ca

File tree

5 files changed

+45
-45
lines changed

5 files changed

+45
-45
lines changed

pages/docs/manual/v10.0.0/overview.mdx

+9-9
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ canonical: "/docs/manual/latest/overview"
4343

4444
### Boolean
4545

46-
| JavaScript | ReScript |
47-
| -----------------------------------------------------| ---------------------------------------------- |
48-
|`true`, `false`| Same |
49-
|`!true`| Same |
50-
|<code>&#124;&#124;</code>, `&&`, `<=`, `>=`, `<`, `>`| Same |
51-
|`a === b`, `a !== b`| Same |
52-
| No deep equality (recursive compare) |`a == b`, `a != b`|
53-
|`a == b`| No equality with implicit casting (thankfully) |
46+
| JavaScript | ReScript |
47+
| ------------------------------------- | ---------------------------------------------- |
48+
|`true`, `false`| Same |
49+
|`!true`| Same |
50+
|`\|\|`, `&&`, `<=`, `>=`, `<`, `>`| Same |
51+
|`a === b`, `a !== b`| Same |
52+
| No deep equality (recursive compare) |`a == b`, `a != b`|
53+
|`a == b`| No equality with implicit casting (thankfully) |
5454

5555
### Number
5656

@@ -234,7 +234,7 @@ Float Division/Multiplication | `2.0 /. 23.0 *. 1.0` | `2.0 /
234234
Float Exponentiation | `2.0 ** 3.0` | `Math.pow(2.0, 3.0)`
235235
String Concatenation | `"Hello " ++ "World"` | `"Hello " + "World"`
236236
Comparison | `>`, `<`, `>=`, `<=` | `>`, `<`, `>=`, `<=`
237-
Boolean operation | `!`, `&&`, <code>&#124;&#124;</code> | `!`, `&&`, <code>&#124;&#124;</code>
237+
Boolean operation | `!`, `&&`, `\|\|`| `!`, `&&`, `\|\|`
238238
Shallow and deep Equality | `===`, `==` | `===`, `==`
239239
List (disrecommended) | `list{1, 2, 3}` | `{hd: 1, tl: {hd: 2, tl: {hd: 3, tl: 0}}}`
240240
List Prepend | `list{a1, a2, ...oldList}` | `{hd: a1, tl: {hd: a2, tl: theRest}}`

pages/docs/manual/v11.0.0/overview.mdx

+9-9
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ canonical: "/docs/manual/v11.0.0/overview"
4444

4545
### Boolean
4646

47-
| JavaScript | ReScript |
48-
| -----------------------------------------------------| ---------------------------------------------- |
49-
|`true`, `false`| Same |
50-
|`!true`| Same |
51-
|<code>&#124;&#124;</code>, `&&`, `<=`, `>=`, `<`, `>`| Same |
52-
|`a === b`, `a !== b`| Same |
53-
| No deep equality (recursive compare) |`a == b`, `a != b`|
54-
|`a == b`| No equality with implicit casting (thankfully) |
47+
| JavaScript | ReScript |
48+
| ------------------------------------ | ---------------------------------------------- |
49+
|`true`, `false`| Same |
50+
|`!true`| Same |
51+
|`\|\|`, `&&`, `<=`, `>=`, `<`, `>`| Same |
52+
|`a === b`, `a !== b`| Same |
53+
| No deep equality (recursive compare) |`a == b`, `a != b`|
54+
|`a == b`| No equality with implicit casting (thankfully) |
5555

5656
### Number
5757

@@ -243,7 +243,7 @@ The last expression of a block delimited by `{}` implicitly returns (including f
243243
| Float Exponentiation |`2.0 ** 3.0`|`Math.pow(2.0, 3.0)`|
244244
| String Concatenation |`"Hello " ++ "World"`|`"Hello " + "World"`|
245245
| Comparison |`>`, `<`, `>=`, `<=`|`>`, `<`, `>=`, `<=`|
246-
| Boolean operation |`!`, `&&`, <code>&#124;&#124;</code> |`!`, `&&`, <code>&#124;&#124;</code>|
246+
| Boolean operation |`!`, `&&`, `\|\|`|`!`, `&&`, `\|\|`|
247247
| Shallow and deep Equality |`===`, `==`|`===`, `==`|
248248
| List (disrecommended) |`list{1, 2, 3}`|`{hd: 1, tl: {hd: 2, tl: {hd: 3, tl: 0}}}`|
249249
| List Prepend |`list{a1, a2, ...oldList}`|`{hd: a1, tl: {hd: a2, tl: theRest}}`|

pages/docs/manual/v12.0.0/overview.mdx

+9-9
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ canonical: "/docs/manual/v12.0.0/overview"
4444

4545
### Boolean
4646

47-
| JavaScript | ReScript |
48-
| -----------------------------------------------------| ---------------------------------------------- |
49-
|`true`, `false`| Same |
50-
|`!true`| Same |
51-
|<code>&#124;&#124;</code>, `&&`, `<=`, `>=`, `<`, `>`| Same |
52-
|`a === b`, `a !== b`| Same |
53-
| No deep equality (recursive compare) |`a == b`, `a != b`|
54-
|`a == b`| No equality with implicit casting (thankfully) |
47+
| JavaScript | ReScript |
48+
| ------------------------------------- | ---------------------------------------------- |
49+
|`true`, `false`| Same |
50+
|`!true`| Same |
51+
|`\|\|`, `&&`, `<=`, `>=`, `<`, `>`| Same |
52+
|`a === b`, `a !== b`| Same |
53+
| No deep equality (recursive compare) |`a == b`, `a != b`|
54+
|`a == b`| No equality with implicit casting (thankfully) |
5555

5656
### Number
5757

@@ -243,7 +243,7 @@ The last expression of a block delimited by `{}` implicitly returns (including f
243243
| Float Exponentiation |`2.0 ** 3.0`|`Math.pow(2.0, 3.0)`|
244244
| String Concatenation |`"Hello " ++ "World"`|`"Hello " + "World"`|
245245
| Comparison |`>`, `<`, `>=`, `<=`|`>`, `<`, `>=`, `<=`|
246-
| Boolean operation |`!`, `&&`, <code>&#124;&#124;</code> |`!`, `&&`, <code>&#124;&#124;</code>|
246+
| Boolean operation |`!`, `&&`, `\|\|`|`!`, `&&`, `\|\|`|
247247
| Shallow and deep Equality |`===`, `==`|`===`, `==`|
248248
| List (disrecommended) |`list{1, 2, 3}`|`{hd: 1, tl: {hd: 2, tl: {hd: 3, tl: 0}}}`|
249249
| List Prepend |`list{a1, a2, ...oldList}`|`{hd: a1, tl: {hd: a2, tl: theRest}}`|

pages/docs/manual/v8.0.0/overview.mdx

+9-9
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ canonical: "/docs/manual/latest/overview"
4343

4444
### Boolean
4545

46-
| JavaScript | Us |
47-
| -----------------------------------------------------| ---------------------------------------------- |
48-
|`true`, `false`| Same |
49-
|`!true`| Same |
50-
|<code>&#124;&#124;</code>, `&&`, `<=`, `>=`, `<`, `>`| Same |
51-
|`a === b`, `a !== b`| Same |
52-
| No deep equality (recursive compare) |`a == b`, `a != b`|
53-
|`a == b`| No equality with implicit casting (thankfully) |
46+
| JavaScript | Us |
47+
| ------------------------------------ | ---------------------------------------------- |
48+
|`true`, `false`| Same |
49+
|`!true`| Same |
50+
|`\|\|`, `&&`, `<=`, `>=`, `<`, `>`| Same |
51+
|`a === b`, `a !== b`| Same |
52+
| No deep equality (recursive compare) |`a == b`, `a != b`|
53+
|`a == b`| No equality with implicit casting (thankfully) |
5454

5555
### Number
5656

@@ -234,7 +234,7 @@ Float Division/Multiplication | `2.0 /. 23.0 *. 1.0` | `2.0 /
234234
Float Exponentiation | `2.0 ** 3.0` | `Math.pow(2.0, 3.0)`
235235
String Concatenation | `"Hello " ++ "World"` | `"Hello " + "World"`
236236
Comparison | `>`, `<`, `>=`, `<=` | `>`, `<`, `>=`, `<=`
237-
Boolean operation | `!`, `&&`, <code>&#124;&#124;</code> | `!`, `&&`, <code>&#124;&#124;</code>
237+
Boolean operation | `!`, `&&`, `\|\|`| `!`, `&&`, `\|\|`
238238
Shallow and deep Equality | `===`, `==` | `===`, `==`
239239
List (disrecommended) | `[1, 2, 3]` | `{hd: 1, tl: {hd: 2, tl: {hd: 3, tl: 0}}}`
240240
List Prepend | `[a1, a2, ...oldList]` | `{hd: a1, tl: {hd: a2, tl: theRest}}`

pages/docs/manual/v9.0.0/overview.mdx

+9-9
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ canonical: "/docs/manual/latest/overview"
4141

4242
### Boolean
4343

44-
| JavaScript | ReScript |
45-
| -----------------------------------------------------| ---------------------------------------------- |
46-
|`true`, `false`| Same |
47-
|`!true`| Same |
48-
|<code>&#124;&#124;</code>, `&&`, `<=`, `>=`, `<`, `>`| Same |
49-
|`a === b`, `a !== b`| Same |
50-
| No deep equality (recursive compare) |`a == b`, `a != b`|
51-
|`a == b`| No equality with implicit casting (thankfully) |
44+
| JavaScript | ReScript |
45+
| ------------------------------------- | ---------------------------------------------- |
46+
|`true`, `false`| Same |
47+
|`!true`| Same |
48+
|`\|\|`, `&&`, `<=`, `>=`, `<`, `>`| Same |
49+
|`a === b`, `a !== b`| Same |
50+
| No deep equality (recursive compare) |`a == b`, `a != b`|
51+
|`a == b`| No equality with implicit casting (thankfully) |
5252

5353
### Number
5454

@@ -232,7 +232,7 @@ Float Division/Multiplication | `2.0 /. 23.0 *. 1.0` | `2.0 /
232232
Float Exponentiation | `2.0 ** 3.0` | `Math.pow(2.0, 3.0)`
233233
String Concatenation | `"Hello " ++ "World"` | `"Hello " + "World"`
234234
Comparison | `>`, `<`, `>=`, `<=` | `>`, `<`, `>=`, `<=`
235-
Boolean operation | `!`, `&&`, <code>&#124;&#124;</code> | `!`, `&&`, <code>&#124;&#124;</code>
235+
Boolean operation | `!`, `&&`, `\|\|`| `!`, `&&`, `\|\|`
236236
Shallow and deep Equality | `===`, `==` | `===`, `==`
237237
List (disrecommended) | `list{1, 2, 3}` | `{hd: 1, tl: {hd: 2, tl: {hd: 3, tl: 0}}}`
238238
List Prepend | `list{a1, a2, ...oldList}` | `{hd: a1, tl: {hd: a2, tl: theRest}}`

0 commit comments

Comments
 (0)
close