Skip to content

Commit e23ad74

Browse files
authored
Merge pull request arduino#688 from animeshsrivastava24/patch-24
Code Highlight markup and Link colouration fix break.adoc
2 parents 910ba41 + fd5ce33 commit e23ad74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Language/Structure/Control Structure/break.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ subCategories: [ "Control Structure" ]
1818
[float]
1919
=== Description
2020
[%hardbreaks]
21-
`break` is used to exit from a link:../for[for], link:../while[while] or link:../dowhile[do...while] loop, bypassing the normal loop condition. It is also used to exit from a link:../switchcase[switch case] statement.
21+
`break` is used to exit from a `link:../for[for]`, `link:../while[while]` or `link:../dowhile[do...while]` loop, bypassing the normal loop condition. It is also used to exit from a `link:../switchcase[switch case]` statement.
2222
[%hardbreaks]
2323

2424
--
@@ -32,7 +32,7 @@ subCategories: [ "Control Structure" ]
3232
--
3333
[float]
3434
=== Example Code
35-
In the following code, the control exits the `for` loop when the sensor value exceeds the threshold.
35+
In the following code, the control exits the link:../for[`for`] loop when the sensor value exceeds the threshold.
3636
[source,arduino]
3737
----
3838
int threshold = 40;

0 commit comments

Comments
 (0)