Skip to content

Commit 70a96cc

Browse files
authored
Update increment.adoc
Corrected formatting of the Syntax section, caused by "+" operator that caused the "++" to be hidden and cut-off the lines
1 parent de455ae commit 70a96cc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Language/Structure/Compound Operators/increment.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ Increments the value of a variable by 1.
2424

2525
[float]
2626
=== Syntax
27-
`x++; // increment x by one and returns the old value of x` +
28-
`++x; // increment x by one and returns the new value of x`
27+
[source,arduino]
28+
----
29+
x++; // increment x by one and returns the old value of x
30+
++x; // increment x by one and returns the new value of x
31+
----
2932

3033

3134
[float]

0 commit comments

Comments
 (0)